- repo to process nabucco xml-data (taken from orig-repo) into something more usabel (csv); be aware, to ease the parsing, I manually removed the namespaces from the original files
- evolved to application repo for generic nabucco app
- clone the repo
git clone https://github.com/acdh-oeaw/nabucco.git
- change into repo-folder
cd nabucco
- create a virtualenv, e.g.
python -m venv venv
and activate itsource venv/bin/activate
- install required packages
pip install -r requirements.txt
- create a postgres-db
nabucco
with user and pwpostgres
- or modifysettings.py
or set propper environment variables --> note that with Windows, PostgreSQL13 seems not to work: use version 12 - run
python manage.py makemigrations
thenpython manage.py migrate
andpython manage.py runserver
to migrate database and start the dev server
Important
The instructions of how to import data have been removed because the data as well as the related code are no longer part of this code base. The data import routine was only needed in the early stages of the application development.
docker build -t nabucco:latest .
docker build -t nabucco:latest --no-cache .
To run the image you should provide an .env
file to pass in needed environment variables; see nabucco/settings.py
for possible varibles:
docker run -it --network="host" --rm --env-file .env nabucco:latest
link Nabucco tablets with LaBaSi
python manage.py labasi