|
@@ -30,12 +30,14 @@ Schlankes PHP-Flatfile-Projekt für einen digitalen Mitgliedsantrag (deutsches F
|
|
|
- `src/` PHP-Logik
|
|
- `src/` PHP-Logik
|
|
|
- `config/` Konfiguration
|
|
- `config/` Konfiguration
|
|
|
- `storage/` Datenablage (JSON, Uploads, Logs)
|
|
- `storage/` Datenablage (JSON, Uploads, Logs)
|
|
|
-- `bin/cleanup.php` tägliche Bereinigung
|
|
|
|
|
|
|
+- `admin/cleanup.php` tägliche Bereinigung
|
|
|
- `docs/` AI-first Dokumentation
|
|
- `docs/` AI-first Dokumentation
|
|
|
- `.htaccess` Apache-Schutz und Routing
|
|
- `.htaccess` Apache-Schutz und Routing
|
|
|
|
|
|
|
|
## Setup (Shared Hosting)
|
|
## Setup (Shared Hosting)
|
|
|
|
|
|
|
|
|
|
+Detaillierte Schritt-für-Schritt-Anleitung: `docs/initial_setup.md`
|
|
|
|
|
+
|
|
|
1. Projekt hochladen.
|
|
1. Projekt hochladen.
|
|
|
2. Apache verwenden (mit aktiviertem `mod_rewrite`) und `AllowOverride All` für das Projekt sicherstellen.
|
|
2. Apache verwenden (mit aktiviertem `mod_rewrite`) und `AllowOverride All` für das Projekt sicherstellen.
|
|
|
3. Document Root auf das Projekt-Root setzen.
|
|
3. Document Root auf das Projekt-Root setzen.
|
|
@@ -51,7 +53,7 @@ Schlankes PHP-Flatfile-Projekt für einen digitalen Mitgliedsantrag (deutsches F
|
|
|
- Ergebnis in `config/app.local.php -> admin.credentials[*].password_hash`
|
|
- Ergebnis in `config/app.local.php -> admin.credentials[*].password_hash`
|
|
|
- Benutzername in `config/app.local.php -> admin.credentials[*].username`
|
|
- Benutzername in `config/app.local.php -> admin.credentials[*].username`
|
|
|
8. Cronjob einrichten (täglich):
|
|
8. Cronjob einrichten (täglich):
|
|
|
- - `php /pfad/zum/projekt/bin/cleanup.php`
|
|
|
|
|
|
|
+ - `php /pfad/zum/projekt/admin/cleanup.php`
|
|
|
|
|
|
|
|
Hinweis:
|
|
Hinweis:
|
|
|
- `config/app.php` und `config/mail.php` sind stabile Loader-Dateien im Repo.
|
|
- `config/app.php` und `config/mail.php` sind stabile Loader-Dateien im Repo.
|
|
@@ -64,7 +66,7 @@ Hinweis:
|
|
|
- Honeypot + Rate Limit aktiv.
|
|
- Honeypot + Rate Limit aktiv.
|
|
|
- Rate Limit fuer Tests deaktivierbar ueber `config/app.local.php -> rate_limit.enabled = false`.
|
|
- Rate Limit fuer Tests deaktivierbar ueber `config/app.local.php -> rate_limit.enabled = false`.
|
|
|
- Uploads werden auf Typ, MIME und Größe geprüft.
|
|
- Uploads werden auf Typ, MIME und Größe geprüft.
|
|
|
-- Interne Ordner (`config`, `src`, `storage`, `bin`, `docs`) werden per `.htaccess` blockiert.
|
|
|
|
|
|
|
+- Interne Ordner (`config`, `src`, `storage`, `docs`, `lib`) werden per `.htaccess` blockiert.
|
|
|
|
|
|
|
|
## Wichtige URLs
|
|
## Wichtige URLs
|
|
|
|
|
|
|
@@ -78,8 +80,9 @@ Lokale PHP-Laufzeit wird benötigt (CLI + Webserver), um Syntaxchecks/Tests ausz
|
|
|
|
|
|
|
|
## Weiterführende Doku
|
|
## Weiterführende Doku
|
|
|
|
|
|
|
|
-- `docs/AI_OVERVIEW.md`
|
|
|
|
|
-- `docs/FORM_SCHEMA.md`
|
|
|
|
|
-- `docs/OPERATIONS.md`
|
|
|
|
|
-- `docs/RATE_LIMITING.md`
|
|
|
|
|
-- `docs/AUTH_INTEGRATION.md`
|
|
|
|
|
|
|
+- `docs/ai_overview.md`
|
|
|
|
|
+- `docs/initial_setup.md`
|
|
|
|
|
+- `docs/form_schema.md`
|
|
|
|
|
+- `docs/operations.md`
|
|
|
|
|
+- `docs/rate_limiting.md`
|
|
|
|
|
+- `docs/auth_integration.md`
|