Files
Projektarbeit-MYP/backend/EINFACHE_ANLEITUNG.md

1.1 KiB

🚀 MYP EINFACHE ANLEITUNG

Ein Skript für alles!

Du musst nur ein einziges Skript ausführen und alles wird automatisch konfiguriert:

Auf dem Raspberry Pi:

# 1. Ins MYP-Verzeichnis wechseln
cd /opt/myp

# 2. HTTPS-Only Setup ausführen (macht ALLES automatisch)
sudo ./setup_https_only.sh

Das war's! 🎉

Was das Skript automatisch macht:

ERR_SSL_KEY_USAGE_INCOMPATIBLE behebt
Port 5000 komplett blockiert (nur noch HTTPS Port 443)
Browser-kompatible SSL-Zertifikate erstellt
Kiosk-Modus automatisch konfiguriert
Firewall nur Port 443 öffnet
Alle Services installiert und startet

Nach dem Setup:

Bei Problemen:

# Status prüfen:
sudo systemctl status myp-production myp-kiosk

# Logs anzeigen:
sudo journalctl -u myp-production -f

# Verbindung testen:
curl -k -v https://localhost

🎯 Ein Befehl - alles erledigt!