File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 13
13
- RabbitMQ & Thrift & 环信服务端 集成等
14
14
- PM2(Node服务自动部署和监控)
15
15
16
+ 关于API接口文档管理及线上线下测试,推荐:[ SosoApi] ( http://www.sosoapi.com/ )
16
17
17
18
## Build Setup @see package.json#scripts
18
19
@@ -31,7 +32,8 @@ npm start
31
32
### Auto restarting server and reloading browsers for development
32
33
33
34
```
34
- npm run live
35
+ npm run live:client // 客户端源码变动实时监测
36
+ npm run live:server // 服务端源码变动实时监测
35
37
```
36
38
37
39
### For unit test, such as:
@@ -56,7 +58,7 @@ Please install 'npm install npm-check-updates -g' at first
56
58
npm run update
57
59
```
58
60
59
- ### PM2 operations and deploy
61
+ ### PM2 operations and deploy(基于Git)
60
62
61
63
First of all, please install node.js and git on the server and set $PATH env in ~ /.bashrc
62
64
```
77
79
78
80
then, use ·npm run setup: test · for the first time, other deployment use ·npm run deploy: test ·
79
81
```
80
- npm run setup:test
81
- npm run setup:simu
82
- npm run setup:prod
83
- npm run deploy:test
84
- npm run deploy:simu
85
- npm run deploy:prod
82
+ npm run setup:test // 测试环境远程部署(第一次安装)
83
+ npm run setup:simu // 仿真环境远程部署(第一次安装)
84
+ npm run setup:prod // 生产环境远程部署(第一次安装)
85
+ npm run deploy:test // 测试环境远程部署(后期更新)
86
+ npm run deploy:simu // 仿真环境远程部署(后期更新)
87
+ npm run deploy:prod // 生产环境远程部署(后期更新)
86
88
npm run stop
87
89
npm run reload
88
90
npm run list
You can’t perform that action at this time.
0 commit comments