First-Run Validation¶
Purpose¶
Confirm your local environment is healthy enough for feature development.
When To Use This Page¶
- immediately after first setup
- after major dependency/runtime changes
- before starting high-impact implementation work
Validation Ladder¶
flowchart LR
Config["Config Checks"] --> Schema["Schema Checks"]
Schema --> Smoke["Smoke Tests"]
Smoke --> Focused["Focused Module Tests"] Core Commands¶
docker compose run --rm app python manage.py check
docker compose run --rm app python manage.py showmigrations
./scripts/run_smoke_tests.sh
./scripts/run_tests.sh
Functional Checklist¶
- Login page loads.
- Dashboard and project context load.
- Requirements, scope, V&V, and ops pages render.
- Celery worker responds to ping.
- App/worker logs show no blocking exceptions.
Targeted Follow-up by Failure Type¶
| Symptom | First Check | Likely Area |
|---|---|---|
| migration fails | .env DB vars + DB logs | database config/schema |
| login fails | manage.py check + app logs | host/security/auth settings |
| page 500 errors | traceback + module tests | domain app logic |
| async outcomes missing | worker ping + redis health | worker/broker wiring |