Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands - CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround - CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check - NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere - MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates - LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference Co-authored-by: Cursor <cursoragent@cursor.com>
860 B
860 B
Deploy Phoenix Deploy API
Local run (no install)
From this directory:
npm install
cp .env.example .env # then set GITEA_TOKEN
npm start
Install as systemd service (production)
-
From this repo (dependencies already installed in repo):
sudo ./scripts/install-systemd.shOr from repo root:
sudo phoenix-deploy-api/scripts/install-systemd.sh -
Edit env on the server:
sudo nano /opt/phoenix-deploy-api/.env # Set GITEA_TOKEN=... and optionally PHOENIX_DEPLOY_SECRET sudo systemctl restart phoenix-deploy-api -
Check:
curl http://localhost:4001/health
If you don't have sudo
- Run in project dir:
npm install && npm start(or use PM2/screen). - To install to
/optand systemd, runinstall-systemd.shon a host where you have sudo.