fix: systemd ohne ProtectHome (venv unter /root sichtbar) + Phase-3-Backend

Deployment-Fixes (Dienst startete nicht -> 203/EXEC "uvicorn not found"):
- Unit ohne ProtectHome/ProtectSystem: Repo/venv dürfen unter /root oder /home
  liegen (ProtectHome=true blendete diese Pfade für den Dienst aus).
- install.sh: Python-3.11+-Prüfung mit klarer Meldung; prüft nach der Installation,
  dass uvicorn wirklich in der venv liegt.
- EZB-Kursabruf läuft beim Start jetzt im Hintergrund (blockiert den Start nie).

Phase-3-Backend (Dashboard):
- Modell + Migration 0004: dashboard_layouts (JSON-Layout je Nutzer).
- routers/dashboard: Layout speichern/laden/zurücksetzen + Kartendaten
  (Budget-Donut, Budget-Fortschritt, Einnahmen/Ausgaben, Kontostände,
  Vermögensverlauf, letzte Buchungen).
- Frontend-Infrastruktur: Chart-Komponenten (Donut/Line), palette, API-Methoden,
  react-grid-layout. (Dashboard-Seite folgt im nächsten Commit.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Guido
2026-08-19 19:31:55 +02:00
co-authored by Claude Opus 4.8
parent f53c79a20c
commit 2dd8f9cd35
14 changed files with 685 additions and 8 deletions
+5 -1
View File
@@ -1,8 +1,12 @@
# Deployment (Proxmox-LXC + Nginx Proxy Manager)
> **Voraussetzung: Python 3.11+** – also ein **Debian-12-** oder **Ubuntu-24.04**-LXC
> (Debian 11 hat nur Python 3.9 und wird nicht unterstützt). `install.sh` prüft das
> und bricht mit einer klaren Meldung ab, falls die Version zu alt ist.
## Installation
Im LXC (Debian/Ubuntu) das Repo klonen und als root installieren:
Im LXC (Debian 12 / Ubuntu 24.04) das Repo klonen und als root installieren:
```bash
git clone <repo-url> /opt/certain-finance