Downed Allied Air Crew Database Austria. A web application.
The repository of the web application Downed Allied Air Crew Database Austria. The application’s purpose is the publication of data about Allied air crews whose planes were downed above Austria during World War II. The data running this application was gathered by Georg Hoffmann and Nicole Goll. For more information please refer to Hoffmann, Fliegerlynchjustiz, 2015 or Goll/Hoffmann, Missing in Action, 2016.
- Clone this repository.
- Create and activate a virtual environment.
- Install the required packages
pip install -r requirements.txt
. - Run
makemigrations
,migrate
andrunserver
. - Open http://127.0.0.1:8000/.
This project uses modularized settings (to keep sensitive information out of version control or to be able to use the same code for development and production). Therefore you'll have to append a --settings
parameter pointing to the settings file you'd like to run the code with to all manage.py
commands. For example, run python manage.py makemigrations --settings=daacda.settings.dev
.
To import data, you have to execute the ipython script import_data.ipynb
.
- Start a new ipython session
python manage.py shell_plus --notebook --settings=daacda.settings.dev_custom
. - Execute the script cell by cell.
docker build -t daacda:latest .
docker build -t daacda:latest --no-cache .
To run the image you should provide an env.default
file to pass in needed environment variables; see example env.default
in this repo:
docker run -it -p 8020:8020 --rm --env-file env.default daacda:latest
docker run -it -p 8020:8020 --rm --env-file env.default acdhch/daacda:latest