refactor: 移除 gate_bot,统一为三所架构并更新文档
删除 crypto_monitor_gate_bot 目录,中控与子代理改为 binance/okx/gate 三账户; 文档与 UI 文案「四所」改为「三所」;新增清库前一次性配置备份脚本。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+3
-3
@@ -29,7 +29,7 @@ bash deploy/setup_env.sh --install-system-deps
|
||||
常用参数:
|
||||
|
||||
```bash
|
||||
bash deploy/setup_env.sh --only binance,gate_bot # 仅部分子项目
|
||||
bash deploy/setup_env.sh --only binance,gate # 仅部分子项目
|
||||
bash deploy/setup_env.sh --recreate-venv # 重建虚拟环境
|
||||
bash deploy/setup_env.sh --skip-pm2 # 不尝试安装 pm2
|
||||
bash deploy/setup_env.sh --skip-env-copy # 不复制 .env.example
|
||||
@@ -68,11 +68,11 @@ sed -i 's/\r$//' deploy/setup_env.sh
|
||||
pm2 save
|
||||
```
|
||||
|
||||
3. 四所 `.env` 同步脚本见 **[docs/env-sync-scripts.md](../docs/env-sync-scripts.md)**。
|
||||
3. 三所 `.env` 同步脚本见 **[docs/env-sync-scripts.md](../docs/env-sync-scripts.md)**。
|
||||
|
||||
---
|
||||
|
||||
## 依赖说明
|
||||
|
||||
- 四个监控子项目共用根目录 **[requirements.txt](../requirements.txt)**。
|
||||
- 三个监控子项目共用根目录 **[requirements.txt](../requirements.txt)**。
|
||||
- 走 SOCKS 须 **PySocks**(已包含在 requirements 中)。
|
||||
|
||||
+1
-2
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# 用法:
|
||||
# bash deploy/setup_env.sh
|
||||
# bash deploy/setup_env.sh --only binance,gate_bot
|
||||
# bash deploy/setup_env.sh --only binance,gate
|
||||
# bash deploy/setup_env.sh --skip-pm2
|
||||
# bash deploy/setup_env.sh --recreate-venv
|
||||
# bash deploy/setup_env.sh --install-system-deps # root + apt 时安装 python*-venv
|
||||
@@ -244,7 +244,6 @@ ensure_venv_prereqs "${PY}"
|
||||
|
||||
should_include binance && setup_monitor crypto_monitor_binance
|
||||
should_include gate && setup_monitor crypto_monitor_gate
|
||||
should_include gate_bot && setup_monitor crypto_monitor_gate_bot
|
||||
should_include okx && setup_monitor crypto_monitor_okx
|
||||
should_include hub && setup_hub
|
||||
|
||||
|
||||
Reference in New Issue
Block a user