Installation over pip directly from Github:
pip install git+https://github.com/openlegaldata/oldp-de.gitAlternatively, you could git clone this repository and install it locally:
git clone https://github.com/openlegaldata/oldp-de.git
cd oldp-de
python setup.py installTell OLDP to use the OLDP-DE settings file and development configuration:
export DJANGO_SETTINGS_MODULE=oldp_de.settings
export DJANGO_CONFIGURATION=DevDEConfiguration # For production use `ProdDEConfiguration`Start OLDP as always (from OLDP directory):
# Run from OLDP directory
python manage.py runserverBy loading another settings file, we basically just tell Django to use assets (templates, images, ...) from the German theme if then exist. As a result, we can modify the layout etc. without touching the original OLDP code.