diff --git a/README.md b/README.md index 875b8d0..246eb3c 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,33 @@ python app.py - **TXT-Export** der Kalkulation - **Auto-Save** aller Werte via AJAX (debounced 500ms) +## Installation auf Proxmox (LXC-Container) + +Das Skript `proxmox-setup.sh` erstellt einen Ubuntu-24.04-LXC-Container, +klont das Repository, installiert alle Abhangigkeiten und richtet einen +systemd-Service ein. + +**Auf dem Proxmox-Host als root ausfuhren:** + +```bash +bash -c "$(curl -fsSL https://gitea.teamthiele.de/ethiele/3ddruckkalkulation/raw/branch/main/proxmox-setup.sh)" +``` + +Nach Abschluss ist die App unter `http://:5000` erreichbar. +Container-ID und Name konnen als Argumente ubergeben werden: + +```bash +bash -c "$(curl -fsSL https://gitea.teamthiele.de/ethiele/3ddruckkalkulation/raw/branch/main/proxmox-setup.sh)" - 105 mein-container +``` + +**Container-Zugriff:** + +```bash +pct enter 201 # Shell im Container +systemctl status 3ddruck-kalkulation.service +journalctl -u 3ddruck-kalkulation.service -f +``` + ## Technik | Komponente | Technologie |