Skip to content

Quick Start (local)

This guide starts Clavis locally for development and testing.

Prerequisites

  • Docker 24+ and Docker Compose v2 installed
  • Git installed

Step 1: Clone the repository

bash
git clone https://github.com/Clavis-Rallye/App.git
cd App

Step 2: Configure environment variables

bash
cp deployment/.env.example .env

Open .env and set at minimum:

  • JWT_SECRET_KEY — random string (≥32 characters)
  • HMAC_AUDIT_KEY — random string (≥32 characters)
  • POSTGRES_PASSWORD — database password

All other variables have sensible defaults for local development.

Step 3: Start services

bash
docker compose up --build

On the first start, all images are built and the database is initialized. This takes a few minutes.

Step 4: Access

ServiceURL
Frontendhttp://localhost:8000
API documentationhttp://localhost:8000/api/docs
ReDochttp://localhost:8000/api/redoc
MinIO consolehttp://localhost:9001

Stop

bash
docker compose down

Database data is preserved in the Docker volume.