Overview
Local development uses a hybrid approach:- Docker for infrastructure (PostgreSQL, Redis, ChromaDB)
- npm + Turbo for application services (hot-reload development)
Prerequisites
Infrastructure Setup (Docker)
Start Containers
If containers don’t exist yet, see the Docker Setup guide for initial creation.
Database Migrations
Migrations run automatically on first container start. To run manually:Verify Infrastructure
Environment Configuration
1
Copy Template
2
Set Required Keys
3
Optional Keys
Application Setup
Install Dependencies
Start Development Servers
Verify Services
Development Workflow
Making Changes
- Edit code in your editor
- Services auto-reload (tsx watch for backend, Turbopack for frontend)
- Refresh browser to see frontend changes
Running Individual Services
Stopping Services
Troubleshooting
Containers not running
Containers not running
Database connection errors
Database connection errors
Port conflicts
Port conflicts
Build errors
Build errors
TypeScript errors
TypeScript errors
Missing environment variables
Missing environment variables

