diff --git a/.cursor/skills/security-server-ops/SKILL.md b/.cursor/skills/security-server-ops/SKILL.md index 07fe2fc2..34971904 100644 --- a/.cursor/skills/security-server-ops/SKILL.md +++ b/.cursor/skills/security-server-ops/SKILL.md @@ -9,6 +9,7 @@ description: Soul 服务器操作与部署。部署脚本、SSH、宝塔、环 | 触发词 | 动作 | |--------|------| +| **帮我部署一版全项目到线上** | **先部署 API**:`cd soul-api && python master.py`,**执行完毕后再部署管理端**:`cd soul-admin && python master.py`,均为正式环境,顺序执行不并行 | | **帮我部署api到线上** | **直接执行 `cd soul-api && python master.py`** | | **管理端帮我部署到xx环境** | **语义化解析 xx,直接执行**:含「正式」「线上」「生产」→ `cd soul-admin && python master.py`;含「测试」「dev」→ `cd soul-admin && python deploy.py` | | 部署、服务器操作、SSH | 按本 Skill 选择对应脚本 | @@ -124,6 +125,18 @@ cd e:\Gongsi\Mycontent\soul-admin python master.py ``` +### 4.4.1 全项目部署到线上(API → 管理端,顺序执行) + +```powershell +# 1. 先部署 API +cd e:\Gongsi\Mycontent\soul-api +python master.py + +# 2. API 执行完毕后再部署管理端 +cd e:\Gongsi\Mycontent\soul-admin +python master.py +``` + ### 4.5 部署 soul-admin 测试环境 ```powershell