Prerequisites
- Docker and Docker Compose (recommended)
- Python 3.11+ (for local development without Docker)
- Supabase account with project configured
- Google API key for AI services
- Stripe account for payment integration
Docker Installation (Recommended)
1. Clone and Configure
.env with your credentials — see Configuration for all available variables.
2. Start Services
--reload so code changes take effect immediately.
3. Verify
Local Python Installation (Alternative)
1. Clone and Set Up
2. Configure Environment
3. Run
http://localhost:8000.
Without Docker, you need Redis running separately for Celery background tasks. Set
USE_CELERY=false if Redis is unavailable — analysis tasks will run in-process instead.Supabase Setup
- Create a Supabase project
- Run the database schema from
schema.sqlin the Supabase SQL editor - Verify the
handle_new_user()trigger is active — it automatically creates a profile row when users sign up via Supabase Auth - Configure Supabase email templates (optional, see
email-templates/directory for branded HTML templates) - Update
.envwith your Supabase credentials
Stripe Setup
- Create a Stripe account and get your API keys
- Set
STRIPE_API_KEYandSTRIPE_WEBHOOK_SECRETin.env - Configure
STRIPE_SUCCESS_URLandSTRIPE_CANCEL_URLfor your environment - Set up a webhook in Stripe dashboard pointing to
POST /api/v1/payments/webhook
Verify Installation
Next: Configuration
Learn about all configuration options