Skip to content

openlegaldata/oldp-de

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OLDP DE: German Theme for Open Legal Data

Getting Started

Installation over pip directly from Github:

pip install git+https://github.com/openlegaldata/oldp-de.git

Alternatively, 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 install

Tell OLDP to use the OLDP-DE settings file and development configuration:

export DJANGO_SETTINGS_MODULE=oldp_de.settings
export DJANGO_CONFIGURATION=DevDE  # For production use `ProdDE`

Start OLDP as always (from OLDP directory):

# Run from OLDP directory
python manage.py runserver

How does it work?

By 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.

Releases

No releases published

Packages

No packages published