chore: 更新项目配置文件

- 更新 Docker 配置和构建脚本
- 优化项目文档和部署脚本

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
shaw
2025-08-04 10:32:22 +08:00
parent 2ceac331dd
commit 52718ef608
5 changed files with 54 additions and 63 deletions

View File

@@ -269,7 +269,17 @@ module.exports = {
}
```
### 第四步:启动服务
### 第四步:安装前端依赖并构建
```bash
# 安装前端依赖
npm run install:web
# 构建前端(生成 dist 目录)
npm run build:web
```
### 第五步:启动服务
```bash
# 初始化
@@ -526,10 +536,14 @@ git add package-lock.json
# 3. 安装新的依赖(如果有)
npm install
# 4. 重启服务
# 4. 安装并构建前端
npm run install:web
npm run build:web
# 5. 重启服务
npm run service:restart:daemon
# 5. 检查服务状态
# 6. 检查服务状态
npm run service:status
```