Skip to content

Commit 9d9f008

Browse files
authored
add descriptions
1 parent a5fd39a commit 9d9f008

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- RabbitMQ & Thrift & 环信服务端 集成等
1414
- PM2(Node服务自动部署和监控)
1515

16+
关于API接口文档管理及线上线下测试,推荐:[SosoApi](http://www.sosoapi.com/)
1617

1718
## Build Setup @see package.json#scripts
1819

@@ -31,7 +32,8 @@ npm start
3132
### Auto restarting server and reloading browsers for development
3233

3334
```
34-
npm run live
35+
npm run live:client // 客户端源码变动实时监测
36+
npm run live:server // 服务端源码变动实时监测
3537
```
3638

3739
### For unit test, such as:
@@ -56,7 +58,7 @@ Please install 'npm install npm-check-updates -g' at first
5658
npm run update
5759
```
5860

59-
### PM2 operations and deploy
61+
### PM2 operations and deploy(基于Git)
6062

6163
First of all, please install node.js and git on the server and set $PATH env in ~/.bashrc
6264
```
@@ -77,12 +79,12 @@ ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected]
7779

7880
then, use ·npm run setup:test· for the first time, other deployment use ·npm run deploy:test·
7981
```
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 // 生产环境远程部署(后期更新)
8688
npm run stop
8789
npm run reload
8890
npm run list

0 commit comments

Comments
 (0)