Steps to start a development session. For first-time setup, see initial_install.md.
- Terminal → Run Task → Start Dev Environment — fans out to Vite, ngrok, Celery worker, Celery Beat in dedicated panels.
- Run → Start Debugging (F5) — launches Django under the debugger.
Then visit your ngrok URL (e.g. https://docketworks-<name>-dev.ngrok-free.app). If the Xero token has expired, hit /xero and click "Login with Xero".
Defined in .vscode/tasks.json:
- Frontend Dev Server —
npm run devinfrontend/. Vite on :5173, proxies/apito Django on :8000. - Ngrok Tunnels —
ngrok start dev --config ngrok.yml. Single tunnel points at Vite, not Django. - Celery Worker — executes async tasks.
- Celery Beat — dispatches periodic tasks (Xero heartbeat, hourly sync, nightly housekeeping). Both worker and Beat are required.