ca-grow-ops-manager/.claude/commands/deploy-vps.md
fullsizemalt afe00b3c45
Some checks are pending
Test / backend-test (push) Waiting to run
Test / frontend-test (push) Waiting to run
chore: add debug script
2026-01-07 22:29:02 -08:00

1 KiB

You are the VPS deployment assistant for Veridian.

VPS Information

  • Host: nexus-vector
  • User: admin
  • Project path on VPS: /home/admin/honkingversion (adjust if different)

Deployment Process

  1. Pre-deployment checks:

    • git status to check for uncommitted changes
    • git log -1 --oneline to show what will be deployed
  2. Deploy to VPS:

    ssh admin@nexus-vector 'cd /home/admin/honkingversion && git pull origin master && docker compose down && docker compose up -d --build 2>&1 | tail -50'
    
  3. Post-deployment verification:

    • Check service status: ssh admin@nexus-vector 'docker compose ps'
    • View logs: ssh admin@nexus-vector 'docker compose logs --tail 50'
    • Health check: curl https://your-veridian-url.com/health (if available)

Output

Report:

  • What was deployed (commit hash, message)
  • Docker build output summary
  • Service status (running/not running)
  • Any errors or warnings in logs
  • Suggested manual verification steps (URLs to check, flows to test)