# .env
SECRET_KEY='<secret_key>'
DEBUG=False
ALLOWED_HOSTS='<allowed_host>, ...'
TIME_ZONE='Europe/Berlin'
POSTGRES_DB='flask_database'
POSTGRES_USER='admin'
POSTGRES_PASSWORD='<admin_password>'
#CORS_ALLOW_ALL_ORIGINS=True
CORS_ALLOWED_ORIGINS='<allowed_origins>, ... 'Install prerequisites:
- docker
Install prerequisites:
- conda
- npm (node.js)
Setting up the environment:
conda install -f environment.yml
conda activate flaskIn the frontend/ directory, run:
npm installdocker compose up -d --buildor with a respective .env file:
docker compose --env-file .env up -d --buildIn frontend/, run:
npm run devdocker compose down