From b9ea2c2625a61e3539545cf97057939b0cc4d39c Mon Sep 17 00:00:00 2001 From: Bjoern Welker Date: Fri, 30 Jan 2026 12:39:29 +0100 Subject: [PATCH] docs: clarify order key location --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7b98135..96d631f 100755 --- a/README.md +++ b/README.md @@ -61,6 +61,8 @@ python import_from_html.py /pfad/zu/hellas_bestand.html --truncate - API‑Proxy: `/wawi/proxy/bestand` Wenn du diese Datei auf einem Webserver auslieferst, stelle sicher, dass die WaWi‑App unter `/wawi` erreichbar ist. +Wenn du Bestellungen direkt aus `index.html` abschickst, muss der `X-Order-Key` bzw. `?key=` dem `APP_API_KEY` entsprechen. +Der Key wird in `index.html` im Script‑Block gesetzt: `const ORDER_KEY = ""` (neben der Formularlogik). Trage dort deinen Key ein. ## Umgebungsvariablen (ENV) **Pflicht/Empfohlen für Produktion** @@ -177,8 +179,3 @@ mkdir -p /var/www/hellas/wawi/static/uploads chown -R www-data:www-data /var/www/hellas/wawi/static/uploads systemctl restart hellas ``` - -## Backup (Beispiel) -```bash -sudo /root/fix_wawi_permissions.sh -```