Skip to main content

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

You should see three running 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

This installs dependencies for all workspace packages: root, services/gateway, services/auth, services/bot, services/realtime-audio, services/knowledge, apps/web, and packages/shared.

Start Development Servers

This starts all services with hot-reload:

Verify Services

Development Workflow

Making Changes

  1. Edit code in your editor
  2. Services auto-reload (tsx watch for backend, Turbopack for frontend)
  3. Refresh browser to see frontend changes

Running Individual Services

Stopping Services

Troubleshooting

Quick Reference