docs: unify Ubuntu root /opt PM2 deployment and refresh README
Add docs/ubuntu-server.md; remove Windows and alternate process managers from deployment guides; index strategy, key monitor, TP/SL, breakeven, and replay docs in root README. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -28,15 +28,15 @@
|
||||
|
||||
完整模板见 **`.env.example`**。
|
||||
|
||||
## 本地运行
|
||||
## 运行
|
||||
|
||||
```powershell
|
||||
cd crypto_monitor_okx
|
||||
$env:PYTHONPATH=".."
|
||||
```bash
|
||||
cd /opt/crypto_monitor/crypto_monitor_okx
|
||||
source .venv/bin/activate
|
||||
python app.py
|
||||
```
|
||||
|
||||
默认端口 **`APP_PORT`**(常为 `5004`,与中控登记一致)。
|
||||
生产使用 **PM2**;见 [docs/ubuntu-server.md](../docs/ubuntu-server.md)。默认 **`APP_PORT`** 常为 `5004`。
|
||||
|
||||
## 部署
|
||||
|
||||
|
||||
Reference in New Issue
Block a user