diff --git a/readme.md b/readme.md new file mode 100644 index 00000000..939d2395 --- /dev/null +++ b/readme.md @@ -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` \ No newline at end of file