Prerequisites
- Node.js version 22
- Docker and Docker Compose (Desktop)
- A GitHub account and local SSH keys configured
1. Clone and Install
2. Infrastructure (Database)
We use Docker Compose to run the local PostgreSQL database seamlessly alongside development.3. Environment Variables
Copy the example file to set up your local.env. Ensure your database URL points to localhost (the default in the example).
MODEL_API_KEY (e.g., an OpenRouter or OpenAI token) and configure the relevant MODEL_PROVIDER in your .env.
4. Prisma Setup
Before you start the Next.js server, you must compile the Prisma Client and apply any pending database schema migrations.5. Run the Application
Start the local development server:3000) and the background worker process.
Open http://localhost:3000 to view the application. Log in using the credentials defined in your ADMIN_EMAIL and ADMIN_PASSWORD .env variables.