Plateforme typologie des choix modaux
What the .env file should look like for the PLATYP backend:
# Postgres
DB_HOST=localhost
DB_PORT=5432
DB_USER=postgres
DB_PASSWORD=password
DB_NAME=platyp
DB_PREFIX=postgresql+asyncpg
# FastAPI prefix
PATH_PREFIX=
# Keycloak
KEYCLOAK_REALM=LASUR
KEYCLOAK_URL=https://enac-it-sso.epfl.ch
KEYCLOAK_API_ID=local-api
KEYCLOAK_API_SECRET=xxxxx
Note: the API Keycloak client is used to manage local users. The required role for this client are:
realm-management
manage-usersrealm-management
query-usersrealm-management
view-usersrealm-management
view-realm
Local Postgres database:
make run-db