short description of the project
cd eurotort-app
virutalenv env
and activate it source env/bin/activate
pip install -r requirements_dev.txt
python manage.py migrate
python manage.py runserver
At the ACDH-CH we use a centralized database-server. So instead of spawning a database for each service our services are talking to a database on this centralized db-server. This setup is reflected in the dockerized setting as well, meaning it expects an already existing database (either on your host, e.g. accessible via 'localhost' or some remote one)
docker build -t eurotort:latest .
docker build -t eurotort:latest --no-cache .
To run the image you should provide an .env
file to pass in needed environment variables; see example below:
docker run -it -p 8020:8020 --rm --env-file docker.env--name eurotort eurotort:latest
This project was bootstraped by djangobase-cookiecutter
ruff check --select I --fix .
ruff format .