-
Install dependencies.
uv sync
-
Install pre-commit to automatically lint and format via ruff before commit
uv run pre-commit install
-
Generate ES256 private key
openssl ecparam -name prime256v1 -genkey -noout -out src/auth/certs/private_key.pem
-
Generate ES256 public key
openssl ec -in src/auth/certs/private_key.pem -pubout -out src/auth/certs/public_key.pem
-
Development mode (fast-refresh)
docker compose watch
-
Production mode
docker compose up --build -d
-
Development mode (fast-refresh)
uv run fastapi dev
-
Production mode
uv run --no-dev fastapi run