Some checks failed
Deploy explore / deploy (push) Failing after 18s
Entscheidungen als Markdown, Normen-Index und schlankes Git-Sync nach /opt/explore (Gitea Actions, ohne Docker). Co-authored-by: Cursor <cursoragent@cursor.com>
70 lines
1.9 KiB
Markdown
70 lines
1.9 KiB
Markdown
# Explor.Code.Law
|
|
|
|
Kommentar- und Rechtsprechungsschicht auf Basis von [lawgit](../lawgit).
|
|
|
|
Gesetze kommen aus Lawgit (`laws_md/`). Hier landen Gerichtsentscheidungen
|
|
als Markdown-Volltext und später Kommentare (Beck/Grüneberg-Stil), die sich
|
|
mit neuer Rechtsprechung fort schreiben.
|
|
|
|
## Verhältnis zu Lawgit
|
|
|
|
| Repo | Inhalt |
|
|
|------|--------|
|
|
| **lawgit** | geltender Wortlaut (`laws_md/`), Fassungsgeschichte, Normzeitachse |
|
|
| **explore** | Gerichtsentscheidungen (`ge_md/`), Normen-Index, Kommentare |
|
|
|
|
Gesetze werden **nicht** kopiert. Explore liest sie über `LAWGIT_ROOT`
|
|
(Default: `../lawgit`).
|
|
|
|
## Schnellstart
|
|
|
|
```bash
|
|
cd /Users/michaelhermann/Source/law/coded/explore
|
|
python3 -m pip install -r requirements.txt
|
|
|
|
# Rauchtest: fünf BGH- und BVerfG-Entscheidungen
|
|
python3 extract_rii.py --limit 5 --court bgh,bverfg
|
|
|
|
# Normen an Lawgit-Paragraphen hängen
|
|
python3 index_normen.py --lawgit ../lawgit
|
|
|
|
# Offline-Tests
|
|
python3 -m unittest discover -s tests -v
|
|
```
|
|
|
|
## Struktur
|
|
|
|
```
|
|
explore/
|
|
├── ge_md/ # Entscheidungen als Markdown (Volltext)
|
|
├── ge_xml/ # Roh-ZIP/XML (gitignoriert)
|
|
├── kommentar/ # später: Kommentartexte pro Paragraph
|
|
├── data/ # normen_index.json
|
|
├── extract_rii.py # Download + Konvertierung
|
|
├── rii_to_markdown.py
|
|
├── index_normen.py
|
|
└── docs/
|
|
├── QUELLEN.md
|
|
└── EINARBEITUNG.md
|
|
```
|
|
|
|
## Server (Strato)
|
|
|
|
Persistenz unter `/opt/explore` auf `82.165.92.92` (Domain geplant:
|
|
`explore.coded.law`). Details: [INFRASTRUCTURE.md](INFRASTRUCTURE.md).
|
|
|
|
```bash
|
|
# Bootstrap / ge_xml spiegeln (SSH-Key gitea_deploy)
|
|
./sync_to_server.sh
|
|
./sync_to_server.sh --xml-only
|
|
```
|
|
|
|
## Quellen
|
|
|
|
Primär: [rechtsprechung-im-internet.de](https://www.rechtsprechung-im-internet.de/)
|
|
(BVerfG und oberste Bundesgerichte ab 2010). Details und Lücken:
|
|
[docs/QUELLEN.md](docs/QUELLEN.md).
|
|
|
|
Wie neue Entscheidungen den Kommentar treffen:
|
|
[docs/EINARBEITUNG.md](docs/EINARBEITUNG.md).
|