Golden Path: Local Setup to First Run
Purpose
Provide the shortest, repeatable path from local environment setup to a successful first end-to-end run.Prereqs
- Access to this repository and required cloud credentials.
python3andpipavailable locally.- Node/npm available for dashboard and docs preview.
- Required environment variables/secrets configured for local development.
Step-by-step checklist
- Clone repo and install backend dependencies.
- Install frontend/docs dependencies as needed.
- Configure local environment variables and verify target project/tenant context.
- Run backend locally and confirm health endpoint.
- Run frontend locally and confirm dashboard routes load.
- Execute a minimal ingestion/test flow to verify first successful run.
- Confirm logs show expected tenant-scoped behavior and no blocking errors.
Common failure modes
- Missing env vars/secrets → endpoints fail auth or cannot reach data services.
- Wrong GCP project context → queries hit unexpected datasets.
- Dependency drift → install fails or runtime import errors.
- Port conflicts → backend/frontend fail to start.
- Stale local artifacts → inconsistent results until cache/build cleanup.