docs: clarify main vs v1.0.0-user deploy paths and fix deploy.sh git sync

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-30 20:43:56 +08:00
parent ec1c9873b7
commit b6a4f98b86
3 changed files with 145 additions and 54 deletions
+6 -12
View File
@@ -41,21 +41,15 @@
## 快速开始
**服务器(Ubuntu**
**你自己部署(完整版 · 用 `main` 分支**
```bash
git clone https://gitee.com/dekun/qihuo.git /opt/qihuo
cd /opt/qihuo
git fetch --tags
git checkout v1.0.0-user
bash deploy.sh
# 访问 http://<IP>:6600
```
见 [docs/DEPLOY.md](docs/DEPLOY.md) → **A. 你自己部署(完整版 · main)**
**本地开发**
**客户交付 / 个人用户版(`v1.0.0-user`**
```bash
python3 -m venv venv
见 [docs/DEPLOY.md](docs/DEPLOY.md) → **B. 客户交付(个人用户版 · v1.0.0-user**。**本地开发(当前分支为用户版代码)**
```bashpython3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
cp .env.example .env