docs: clarify order key location
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user