README: Proxmox-Installationsanleitung
This commit is contained in:
27
README.md
27
README.md
@@ -25,6 +25,33 @@ python app.py
|
|||||||
- **TXT-Export** der Kalkulation
|
- **TXT-Export** der Kalkulation
|
||||||
- **Auto-Save** aller Werte via AJAX (debounced 500ms)
|
- **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://<CONTAINER-IP>: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
|
## Technik
|
||||||
|
|
||||||
| Komponente | Technologie |
|
| Komponente | Technologie |
|
||||||
|
|||||||
Reference in New Issue
Block a user