Commit Graph

4 Commits

Author SHA1 Message Date
davide b9ebd250e7 chore: ignore app/public/uploads/ and remove spurious root package-lock.json
uploads/ is generated at runtime by Docker and must not be tracked.
package-lock.json in the repo root was created by accident.
2026-05-19 14:11:01 +02:00
davide 93cfe1ad5e docs: update CLAUDE.md with Italian rule, error workflow, and full data model
Added Italian communication requirement, error-first workflow (report then wait),
and missing Prisma models: ProductVariant, PasswordResetToken, Page/PageSection,
SiteSettings, AuditLog. Added app/coverage/ to .gitignore.
2026-05-19 14:05:34 +02:00
davide 2c6c847d76 feat: replace Docker named volumes with local bind mounts and add backup script
- docker-compose.yml: sostituisce pgdata/uploads/caddy_data/caddy_config con bind mount su ./data/
- app/public/.gitkeep: crea cartella richiesta dal Dockerfile durante il build
- scripts/backup.sh: backup automatico di DB (pg_dump) e uploads con rotazione 30 giorni
- docs/BACKUP.md: guida completa backup, ripristino e setup cron
- .gitignore: aggiorna con data/ e backups/
2026-05-19 08:49:28 +02:00
davide a8d4c158b8 Commit iniziale 2026-05-18 15:25:38 +02:00