Skip to content

Getting started

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).

docker compose build
docker compose up

For more Usage instructions click here.

Environment Variables

This Django project requires multiple environment variables. These variables should be set in an .env file.

# Admin credentials for the admin route
DJANGO_SUPERUSER_PASSWORD=password
DJANGO_SUPERUSER_USERNAME =admin
DJANGO_SUPERUSER_EMAIL=''

# Database credentials
DB_NAME=medical-staff-assessment
DB_USER=postgres
DB_PASSWORD=mypassword
DB_PORT=5432
DB_HOST=db

# Web port
WEB_PORT=8000

# Development
DEVELOPMENT_MODE=True

# API Config
# Set to False for Production
CORS_ALLOW_ALL_ORIGINS=True


# Web port
WEB_PORT=8000
NEXT_PUBLIC_API_URL=http://localhost/api

Clone this wiki locally