README: Kiosk-Modus Dokumentation hinzugefügt - Web Interface parallel zur API

This commit is contained in:
Till Tomczak 2025-05-26 22:30:36 +02:00
parent abeb986f07
commit 3cefb92658

View File

@ -77,6 +77,31 @@ curl -k https://m040tbaraspi001.de040.corpintra.net/health
# → Option 3: Entwicklungs-Setup # → Option 3: Entwicklungs-Setup
``` ```
### MYP Kiosk-Modus (Produktions-bereit)
Das Backend bietet parallel zur API auch ein **vollständiges Web-Interface** für Kiosk-Betrieb:
```bash
./myp_installer.sh
# → Option 2: Backend-Only Installation (mit Kiosk Web Interface)
# oder
# → Option 5: Granulare Installation → Kiosk-Modus installieren
```
**Kiosk-Features:**
- ✅ **Web-Interface parallel zur API** - Kein separates Frontend nötig
- ✅ **Touch-optimierte Bedienung** - Ideal für Raspberry Pi Touchscreens
- ✅ **Automatischer Browser-Start** - Vollbild-Modus beim Boot
- ✅ **systemd Integration** - Service-basierte Kiosk-Verwaltung
- ✅ **Produktions-bereit** - SSL, Logging, Monitoring
**Kiosk URLs:**
- Hauptinterface: `https://raspberrypi/`
- Dashboard: `https://raspberrypi/dashboard`
- Drucker-Verwaltung: `https://raspberrypi/printers`
- Job-Verwaltung: `https://raspberrypi/jobs`
- Admin-Panel: `https://raspberrypi/admin`
### Manuelle Installation ### Manuelle Installation
#### Backend Debug-Modus #### Backend Debug-Modus
@ -91,6 +116,15 @@ cd frontend
npm run dev npm run dev
``` ```
#### Kiosk-Modus manuell starten
```bash
# Backend starten
cd backend/app && python app.py
# Kiosk-Browser starten (separates Terminal)
./backend/app/start_kiosk.sh
```
## 📁 Projektstruktur ## 📁 Projektstruktur
``` ```
@ -155,6 +189,36 @@ docker-compose logs -f
docker-compose logs caddy docker-compose logs caddy
``` ```
### Kiosk-Modus
```bash
# Backend Service
sudo systemctl status myp.service
# Kiosk-Browser Service
sudo systemctl status myp-kiosk-browser.service
# Kiosk-Browser Logs
sudo journalctl -u myp-kiosk-browser.service -f
```
## 🔧 Services
### Backend Services
```bash
# Backend starten/stoppen
sudo systemctl start myp.service
sudo systemctl stop myp.service
sudo systemctl restart myp.service
# Kiosk-Browser starten/stoppen (falls installiert)
sudo systemctl start myp-kiosk-browser.service
sudo systemctl stop myp-kiosk-browser.service
# Automatischen Start aktivieren/deaktivieren
sudo systemctl enable myp.service
sudo systemctl enable myp-kiosk-browser.service
```
## 🆘 Troubleshooting ## 🆘 Troubleshooting
### MYP Control Center verwenden ### MYP Control Center verwenden