Add fast server update script
This commit is contained in:
@@ -46,6 +46,14 @@ APP_DIR="$HOME/zk-data-agent-test" bash "$HOME/zk-data-agent-test/scripts/instal
|
||||
bash scripts/deploy-ubuntu.sh
|
||||
```
|
||||
|
||||
已完成首次部署后,如果只是普通代码更新,可以使用快速更新:
|
||||
|
||||
```bash
|
||||
bash scripts/update-server-fast.sh
|
||||
```
|
||||
|
||||
快速更新只会拉取代码、构建前端并重启用户服务;如果本次改动包含依赖、systemd 模板或部署脚本变化,请使用 `scripts/deploy-ubuntu.sh`。
|
||||
|
||||
如果是全新 Ubuntu 机器,首次安装可以让脚本顺手安装系统依赖:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user