docs: use git.bz121.com as the canonical repository URL
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
set -euo pipefail
|
||||
|
||||
APP_DIR="/opt/qihuo"
|
||||
REPO_URL="${QIHUO_REPO_URL:-https://gitee.com/dekun/qihuo.git}"
|
||||
REPO_URL="${QIHUO_REPO_URL:-https://git.bz121.com/dekun/qihuo.git}"
|
||||
USER_EDITION_TAG="${QIHUO_USER_TAG:-v1.0.0-user}"
|
||||
SERVICE_NAME="qihuo"
|
||||
|
||||
|
||||
+8
-9
@@ -13,8 +13,7 @@
|
||||
|
||||
**不要混用**:客户服务器 checkout `v1.0.0-user`;你自己的服务器用 `main`。
|
||||
|
||||
**仓库地址(Gitee)**:https://gitee.com/dekun/qihuo.git
|
||||
(私有镜像:`https://git.bz121.com/dekun/qihuo.git`,步骤相同,仅改 clone URL)
|
||||
**仓库地址**:https://git.bz121.com/dekun/qihuo.git
|
||||
|
||||
---
|
||||
|
||||
@@ -41,7 +40,7 @@
|
||||
- **网络**:
|
||||
- `hq.sinajs.cn`(新浪现价,内部逻辑)
|
||||
- 企业微信 API(若启用推送)
|
||||
- `gitee.com` 或 `git.bz121.com`(拉取代码)
|
||||
- `git.bz121.com`(拉取代码)
|
||||
- `pypi.org`(pip 安装依赖)
|
||||
- SimNow / 期货公司 **CTP 前置地址**(下单与持仓,见下文)
|
||||
|
||||
@@ -57,7 +56,7 @@
|
||||
**首次:**
|
||||
|
||||
```bash
|
||||
git clone https://gitee.com/dekun/qihuo.git /opt/qihuo
|
||||
git clone https://git.bz121.com/dekun/qihuo.git /opt/qihuo
|
||||
cd /opt/qihuo
|
||||
git checkout main
|
||||
bash deploy.sh
|
||||
@@ -78,7 +77,7 @@ bash deploy.sh
|
||||
**首次(SSH 帮客户部署):**
|
||||
|
||||
```bash
|
||||
git clone https://gitee.com/dekun/qihuo.git /opt/qihuo
|
||||
git clone https://git.bz121.com/dekun/qihuo.git /opt/qihuo
|
||||
cd /opt/qihuo
|
||||
git fetch --tags
|
||||
git checkout v1.0.0-user
|
||||
@@ -145,7 +144,7 @@ npm install -g pm2
|
||||
**完整版(自己):**
|
||||
|
||||
```bash
|
||||
git clone https://gitee.com/dekun/qihuo.git /opt/qihuo
|
||||
git clone https://git.bz121.com/dekun/qihuo.git /opt/qihuo
|
||||
cd /opt/qihuo
|
||||
git checkout main
|
||||
```
|
||||
@@ -153,7 +152,7 @@ git checkout main
|
||||
**用户版(客户):**
|
||||
|
||||
```bash
|
||||
git clone https://gitee.com/dekun/qihuo.git /opt/qihuo
|
||||
git clone https://git.bz121.com/dekun/qihuo.git /opt/qihuo
|
||||
cd /opt/qihuo
|
||||
git fetch --tags
|
||||
git checkout v1.0.0-user
|
||||
@@ -314,7 +313,7 @@ pm2 save # 保存进程列表
|
||||
**完整版(默认):**
|
||||
|
||||
```bash
|
||||
git clone https://gitee.com/dekun/qihuo.git qihuo
|
||||
git clone https://git.bz121.com/dekun/qihuo.git qihuo
|
||||
cd qihuo
|
||||
git checkout main
|
||||
python3 -m venv venv
|
||||
@@ -447,7 +446,7 @@ systemctl restart systemd-resolved
|
||||
resolvectl flush-caches
|
||||
```
|
||||
|
||||
验证:`resolvectl query gitee.com`、`curl cip.cc`
|
||||
验证:`resolvectl query git.bz121.com`、`curl cip.cc`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
## 部署(SSH 代部署)
|
||||
|
||||
```bash
|
||||
git clone https://gitee.com/dekun/qihuo.git /opt/qihuo
|
||||
git clone https://git.bz121.com/dekun/qihuo.git /opt/qihuo
|
||||
cd /opt/qihuo
|
||||
git fetch --tags
|
||||
git checkout v1.0.0-user
|
||||
|
||||
Reference in New Issue
Block a user