LCMD db logoLCMD[db]

Quickstart

Short version of the local dev setup. For the full guide — secrets generation, sample data, common commands, troubleshooting — see DEVELOPMENT.md.

Prerequisites

5-minute setup

Clone and configure

git clone https://github.com/lcmd-epfl/db.git
cd db
cp .env.example .env

Start infra in the background

Postgres, MinIO, Redis — everything below the app layer.

docker compose up -d

Install deps

pnpm install
uv sync --all-extras --all-groups --package lcmd_db

Initialize the database

One shot: migrations, MinIO buckets, superuser, sample data.

just reset_db

Access points:

Login credentials are whatever you set for DJANGO_SUPERUSER_* in .env.

What next

  • Architecture — stack, request flow, repo layout
  • API — how the OpenAPI schema becomes a typed SDK
  • Testing — pytest + factory setup
  • Deployment — how code in main becomes prod

On this page