You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lennart Hüsing edited this page Mar 18, 2025
·
7 revisions
To run the project, please use docker. Before running the following commands, install Docker.
Also create the .env file (see Section Environment Variables for required fields).
This Django project requires multiple environment variables. These variables should be set in an .env file.
# Admin credentials for the admin routeDJANGO_SUPERUSER_PASSWORD=password
DJANGO_SUPERUSER_USERNAME =admin
DJANGO_SUPERUSER_EMAIL=''# Database credentialsDB_NAME=medical-staff-assessment
DB_USER=postgres
DB_PASSWORD=mypassword
DB_PORT=5432
DB_HOST=db
# Web portWEB_PORT=8000
# DevelopmentDEVELOPMENT_MODE=True
# API Config# Set to False for ProductionCORS_ALLOW_ALL_ORIGINS=True
# Web portWEB_PORT=8000
NEXT_PUBLIC_API_URL=http://localhost/api