Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行不了 #5

Open
cllgeek opened this issue Nov 22, 2016 · 5 comments
Open

运行不了 #5

cllgeek opened this issue Nov 22, 2016 · 5 comments

Comments

@cllgeek
Copy link

cllgeek commented Nov 22, 2016

运行服务器

重新开机后都要运行
npm run mongodb 启动数据库(端口默认为27017,修改见 "./node/mongod.conf"文件)
npm run server 启动服务器(默认同上,修改方式同上)

我想说的是 package 的scripts都没有server这个,怎么能npm run server呢??

楼主能提供详细的运行起来的过程吗,谢谢,感激不敬。

@SimplyY
Copy link
Owner

SimplyY commented Nov 22, 2016

image
我这 package 的scripts 明明有,https://github.com/SimplyY/blog/blob/master/package.json

@SimplyY
Copy link
Owner

SimplyY commented Nov 22, 2016

不对,我改过了,不是 server 应该是 start

@SimplyY
Copy link
Owner

SimplyY commented Nov 22, 2016

npm run start

@SimplyY
Copy link
Owner

SimplyY commented Nov 22, 2016

然后 这个只是 在本地 跑,访问 127.0.0.1:8000 。然后博客里的文章是根据 ./Article 目录来生成的,
image

osx 环境默认不自动更新数据库。

讲道理,这个是当时年轻的我造的水轮子。。基本没有实用价值,改样式和功能都需要直接改源码。博客搭建还需要运维服务器、买域名等等。。最多用来借鉴一下,,

@cllgeek
Copy link
Author

cllgeek commented Nov 23, 2016

嗯,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants