Commit Graph

11 Commits

Author SHA1 Message Date
dekun 9ec0cacf45 Improve apt-lock wait: stop unattended-upgrades during deploy.
Shows lock holders and optionally stops auto-upgrade so Node install is not stuck after reboot.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 21:29:38 +08:00
dekun 17ba41923a Wait for apt lock during deploy on fresh Ubuntu hosts.
Avoid failing Node install when unattended-upgrades holds dpkg; poll up to 10 minutes then retry.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 21:20:40 +08:00
dekun 4d331da962 Detect Python/Node/PM2 on deploy (install only if missing); uninstall removes /opt/eth_hedge_sim.
Keep .env and DB backup under /root/backups before deleting the install directory.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 23:08:51 +08:00
dekun bffbdafbfc Fix CRLF in deploy shell scripts so Ubuntu bash can run updates.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 22:07:44 +08:00
dekun 8813fd3e37 Use 比特骆驼 logo for PWA/brand marks, remove install button, docs Ubuntu 22.04 only.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 22:07:11 +08:00
dekun 86d3c94f32 Rebrand to 比特骆驼自动化对冲系统; clear login autofill and sim subtitle.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 22:02:09 +08:00
dekun e666230d0b Add SIM/LIVE switch with API keys saved to .env and OKX live executor.
Enable settings UI for mode/keys, gate strategy start when LIVE is not ready, and stop PM2 from forcing MODE=SIM.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 21:08:39 +08:00
dekun 8c14759e78 Heal existing /opt install when manage.sh is missing on curl bootstrap.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 08:54:09 +08:00
dekun 2a29181a90 Add curl|bash manage.sh with deploy/uninstall/update menu.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 08:47:35 +08:00
dekun e24b4f297f Document dc.hyf2.cc reverse proxy for port 5155.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 16:41:31 +08:00
dekun e51f357b48 Initial eth_hedge_sim: P0 market, auth UI, one-click deploy.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 16:33:25 +08:00