README und AGENTS.md aktualisiert

This commit is contained in:
Erik Thiele
2026-07-02 17:12:10 +02:00
parent 542ad959bd
commit c5b52f4c1c
2 changed files with 26 additions and 9 deletions

View File

@@ -94,13 +94,26 @@ static/style.css # Minimales Custom-CSS
static/script.js # Live-Berechnung + Auto-Save
proxmox-setup.sh # Ersteinrichtung LXC-Container
proxmox-update.sh # Update LXC-Container
druckkalkulation_config.yaml # Automatisch erstellte Konfiguration
3dDruckKalkulator.py # Alte Tkinter-Version (unused)
druckkalkulation_config.yaml # Automatisch erstellte Konfiguration (ignoriert)
```
## Routen
| Methode | Pfad | Beschreibung |
|---------|------|-------------|
| GET | `/` | Hauptseite mit Formular |
| POST | `/calculate` | JSON-Berechnung (AJAX) |
| POST | `/save_config` | Speichert Werte in YAML |
| GET | `/invoice` | Rechnungsseite |
| POST | `/invoice/pdf` | PDF-Download |
| POST | `/export` | TXT-Download |
| GET | `/settings` | Einstellungsseite |
| POST | `/upload_logo` | Logo hochladen |
| POST | `/delete_logo` | Logo loschen |
## Hinweise
- `fpdf2` wird als `fpdf` importiert (alte API, `from fpdf import FPDF`)
- Alle UI-Texte sind Deutsch
- Die YAML-Config wird automatisch erstellt und bei jedem Tastendruck gespeichert
- Die alte `3dDruckKalkulator.py` (Tkinter) wird nicht mehr verwendet
- `druckkalkulation_config.yaml` und `static/logo.*` sind in `.gitignore` ausgeschlossen