Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.37 KB

README.md

File metadata and controls

50 lines (37 loc) · 1.37 KB

whynot-bbs

build status codecov.io David deps node version

安装部署

不保证 Windows 系统的兼容性

线上跑的是 Node.js v8.12.0,MongoDB 是 v4.0.3,Redis 是 v4.0.9。

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

测试

跑测试

$ make test

跑覆盖率测试

$ make test-cov

License

MIT