Skip to main content

Dev Server Runbook

Prerequisites: Node.js 22+ and corepack enabled. See Architecture for how the three services interact. This project runs 3 local services:
  • Site: http://localhost:3000
  • Content Studio: http://localhost:4100
  • Orchestrator: http://localhost:4200
Use the managed workflow commands from repo root.

Start

Check Status

Expected output when healthy:
  • running
  • pid: ...
  • log: .../.run/devctl/dev.log
Note: pnpm dev:status returns exit code 1 when stopped. That is expected.

Restart

Stop

Logs

Full Health Check

Healthy responses:
  • 3000:200
  • 4100:200
  • {"ok":true}

Troubleshooting

  1. If site/Content Studio/orchestrator is unreachable:
    • Run pnpm dev:status
    • If stopped, run pnpm dev:start
  2. If status says running but UI fails:
    • Run pnpm dev:logs
    • Run the curl health checks above
  3. If ports are occupied by stale processes:
    • Run pnpm dev:stop
    • Run pnpm dev:start
  4. Deep diagnostics:
    • Run pnpm dev:doctor