No description, website, or topics provided.
JavaScript CSS HTML
Switch branches/tags
Nothing to show
Clone or download
Latest commit f96f55e Apr 18, 2018
Permalink
Failed to load latest commit information.
api/v1 init repo Apr 12, 2017
bin init repo Apr 12, 2017
common init repo Apr 12, 2017
controllers init repo Apr 12, 2017
middlewares init repo Apr 12, 2017
models init repo Apr 12, 2017
proxy init repo Apr 12, 2017
public update adsv Apr 18, 2018
test init repo Apr 12, 2017
views update adsv Apr 18, 2018
.gitignore update .ginignore Apr 12, 2017
.jshintrc init repo Apr 12, 2017
.travis.yml init repo Apr 12, 2017
History.md init repo Apr 12, 2017
Makefile init repo Apr 12, 2017
README.md init repo Apr 12, 2017
api_router_v1.js init repo Apr 12, 2017
app.js add static dir May 16, 2017
assets.json init repo Apr 12, 2017
bdunion.txt init repo Apr 12, 2017
config.default.js init repo Apr 12, 2017
nav.html add web navigation Jun 27, 2017
nav.js add web navigation Jun 27, 2017
newrelic.js init repo Apr 12, 2017
package.json init repo Apr 12, 2017
t init repo Apr 12, 2017
web_router.js init repo Apr 12, 2017

README.md

Nodeclub

build status Coverage Status David deps node version

介绍

Nodeclub 是使用 Node.jsMongoDB 开发的社区系统,界面优雅,功能丰富,小巧迅速, 已在Node.js 中文技术社区 CNode(http://cnodejs.org) 得到应用,但你完全可以用它搭建自己的社区。

安装部署

不保证 Windows 系统的兼容性

线上跑的是 Node.js v1.5,MongoDB 是 v2.6。

1. install `node.js[必须]` `mongodb[必须]`
2. run mongod
3. `$ make install` 安装 Nodeclub 的依赖包
4. `cp config.default.js config.js` 请根据需要修改配置文件
5. `$ make test` 确保各项服务都正常
6. `$ node app.js`
7. visit `localhost:3000`
8. done!

其他

跑测试

$ make test

跑覆盖率测试

$ make test-cov

License

MIT