From f7e7552eb1215ee1a589acb81c8486b86928b59d Mon Sep 17 00:00:00 2001 From: Alex-larget <33240357+Alex-larget@users.noreply.github.com> Date: Fri, 20 Mar 2026 15:43:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3=EF=BC=8C?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=85=A8=E9=A1=B9=E7=9B=AE=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E5=88=B0=E7=BA=BF=E4=B8=8A=E6=B5=81=E7=A8=8B=EF=BC=8C=E6=98=8E?= =?UTF-8?q?=E7=A1=AE=E9=83=A8=E7=BD=B2=E9=A1=BA=E5=BA=8F=EF=BC=88API=20?= =?UTF-8?q?=E2=86=92=20=E7=AE=A1=E7=90=86=E7=AB=AF=EF=BC=89=EF=BC=8C?= =?UTF-8?q?=E7=A1=AE=E4=BF=9D=E7=94=A8=E6=88=B7=E5=9C=A8=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E9=83=A8=E7=BD=B2=E6=97=B6=E7=9A=84=E6=93=8D=E4=BD=9C=E6=B8=85?= =?UTF-8?q?=E6=99=B0=E6=98=93=E6=87=82=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cursor/skills/security-server-ops/SKILL.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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