- Submodule pins: dbis_core, cross-chain-pmm-lps, mcp-proxmox (local, push may be pending), metamask-integration, smom-dbis-138 - Atomic swap + cross-chain-pmm-lops-publish, deploy-portal workflow, phoenix deploy-targets, routing/aggregator matrices - Docs, token-lists, forge proxy, phoenix API, runbooks, verify scripts Made-with: Cursor
1.0 KiB
1.0 KiB
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=..., PHOENIX_DEPLOY_SECRET=..., PHOENIX_REPO_ROOT=... # Optional: PHOENIX_WEBHOOK_DEPLOY_ENABLED=1 only for repos using webhook-triggered deploys # Optional: SANKOFA_PORTAL_SRC=/home/intlc/projects/Sankofa/portal for the portal-live target 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.