添加升级脚本
This commit is contained in:
11
README.md
11
README.md
@@ -35,6 +35,17 @@ VERSION=v0.1.0 curl -sSL https://git.littlediary.cn/CN-JS-HuiBai/PromdataPanel/r
|
||||
3. 安装依赖:`npm install --production`
|
||||
4. 启动服务:`npm start`
|
||||
|
||||
### 方式三:更新现有版本
|
||||
|
||||
如果您已经安装了本系统,可以使用随附的 `update.sh` 脚本一键升级到最新代码:
|
||||
|
||||
```bash
|
||||
# 进入程序目录
|
||||
cd /opt/promdata-panel
|
||||
# 执行更新脚本
|
||||
chmod +x update.sh && ./update.sh
|
||||
```
|
||||
|
||||
#### 3. 系统初始化
|
||||
首次运行后,访问 `http://your-ip:3000/init.html`,按照引导完成 MySQL 数据库和 Valkey 缓存的连接。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user