Skip to content

acdh-oeaw/hapa

Repository files navigation

HAPA

codecov Test flake8 Lint

History of Albanian Place-names: Albania

Code repo for the FWF-Project Sprachgeschichte der Ortsnamen Albaniens (P 33706)

building the image

docker build -t hapa:latest . docker build -t hapa:latest --no-cache .

running the image

To run the image you should provide an .env file to pass in needed environment variables; see example below:

DB_NAME=hapa
DB_USER=hapa
DB_PASSWORD=db_pw
PROJECT_NAME=hapa
SECRET_KEY=randomstring
DEBUG=True
DJANGO_SUPERUSER_USERNAME=user_name
DJANGO_SUPERUSER_PASSWORD=user_pw
VOCABS_DEFAULT_PEFIX=hapa
VOCABS_DEFAULT_PEFIX=en
REDMINE_ID=12345

docker run -it -p 8020:8020 --rm --env-file .env_dev hapa:latest

docker run -it -p 8020:8020 --rm --env-file docker.env ghcr.io/acdh-oeaw/hapa:latest