No description
- PHP 77.3%
- Twig 17.2%
- JavaScript 3.4%
- Shell 1.1%
- Dockerfile 0.5%
- Other 0.5%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| assets | ||
| bin | ||
| config | ||
| docker | ||
| docs | ||
| migrations | ||
| public | ||
| scripts | ||
| SQL | ||
| src | ||
| templates | ||
| tests | ||
| translations | ||
| .dockerignore | ||
| .editorconfig | ||
| .env | ||
| .env.prod.example | ||
| .env.test | ||
| .gitignore | ||
| CLAUDE.md | ||
| compose.override.yaml | ||
| compose.prod.yaml | ||
| compose.yaml | ||
| composer.json | ||
| composer.lock | ||
| importmap.php | ||
| mago.toml | ||
| phpstan.dist.neon | ||
| phpunit.dist.xml | ||
| README.md | ||
| release.sh | ||
| symfony.lock | ||
PanneauPub
Installation (dev)
docker compose up -d --wait # composer install, importmap et migrations au premier boot
- Site : http://localhost:8480
- Mailpit : http://localhost:8425
- MySQL :
127.0.0.1:3308(app / app)
Données de prod en local : scripts/import-prod-db.sh <dump.sql.gz>.
En production sur le VPS. Déploiement : docs/deploiement-production.md. Reste à faire :
docs/backlog.md.
Anti-spam & Maintenance
Une commande de purge des avis non confirmés est disponible. Il est recommandé de la planifier toutes les heures.
Purge des avis non confirmés (> 24h)
bin/console app:avis:purge
Planification (Cron)
Ajoutez la ligne suivante à votre crontab pour une exécution toutes les heures :
0 * * * * /path/to/project/bin/console app:avis:purge >> /path/to/project/var/log/purge.log 2>&1
Si vous utilisez Docker, vous pouvez utiliser :
0 * * * * docker compose exec -T app php bin/console app:avis:purge