Metadata-Version: 2.4
Name: oldp-de
Version: 0.1.5
Summary: German Theme for Open Legal Data Platform
Author-email: Malte Ostendorff <hello@openlegaldata.io>
License-Expression: MIT
Project-URL: Homepage, https://de.openlegaldata.io
Project-URL: Repository, https://github.com/openlegaldata/oldp-de
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: django>=5.0
Requires-Dist: django-configurations
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-django>=4.5; extra == "dev"
Dynamic: license-file

# OLDP DE: German Theme for Open Legal Data

[![PyPI version](https://img.shields.io/pypi/v/oldp-de.svg)](https://pypi.org/project/oldp-de/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

## Getting Started

Install from PyPI:

```bash
pip install oldp-de
```

Or install the latest development version directly from GitHub:

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

For local development:

```bash
git clone https://github.com/openlegaldata/oldp-de.git
cd oldp-de
pip install -e ".[dev]"
```

## Configuration

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

```bash
export DJANGO_SETTINGS_MODULE=oldp_de.settings
export DJANGO_CONFIGURATION=DevDEConfiguration  # For production use `ProdDEConfiguration`
```

Start OLDP as always (from OLDP directory):

```bash
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 they exist.
As a result, we can modify the layout etc. without touching the original OLDP code.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
