create readme file

This commit is contained in:
jack 2018-05-12 17:20:23 +08:00
parent 8a1da68d01
commit 5f8bfdf308
1 changed files with 19 additions and 0 deletions

19
readme.md Normal file
View File

@ -0,0 +1,19 @@
### shipit部署工具
* node v9+
`npm install -g shipit-cli`
`vim ~/.ssh/config`
```bash
Host sj
Hostname 210.77.68.221
Port 29
User lijianxuan
ServerAliveInterval 60
```
拷贝公钥到服务器下,然后运行部署命令即可部署,无需登录服务器
`shipit main deploy` or `npm run d`