The Evan api/website uses Django and the Django REST Framework.
The application uses uv to manage application dependencies.
uv sync --upgrade --group dev./run serverThe app loads variables from .env (via ./run) and from the deployment environment
(Dokku config in production). Required for every environment:
| Variable | Purpose |
|---|---|
UGENT_TENANT_ID |
UGent Microsoft (Entra ID) tenant id the ugent login provider is pinned to. Startup fails fast when it is missing or set to a permissive wildcard (organizations, common, consumers). Ask the Evan team for the tenant GUID. |
./run huey./run pytest --cov=evan --cov-report=termTab size is 4 spaces. Max line length is 120. You should run ruff before committing any change.
./run ruff format . && ./run ruff check evanSome parts of the website are developed as one page applications with Vue (vue folder).
When working on these, it is necessary to start a node server in parallel, so Django can access the
modules via Inertia.
yarn
yarn dev