- Monorepo backend/ + frontend/ + deploy/ - Backend FastAPI/SQLModel/Alembic/uv qui démarre (health check, config, i18n, base de test PostgreSQL, pytest) - docker-compose de développement (db + backend hot-reload) - Chaîne CI/CD GitHub Actions : lint + tests, build image, push GHCR, déploiement SSH sur le VPS à chaque push main - CLAUDE.md : vocabulaire du domaine, conventions, commandes Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017uUsRg7XzopkCPWimwg9ZM
5 lines
259 B
SQL
5 lines
259 B
SQL
-- Exécuté une seule fois, au premier démarrage du conteneur PostgreSQL.
|
|
-- Base dédiée aux tests backend (pytest).
|
|
SELECT 'CREATE DATABASE benevoles_test OWNER benevoles'
|
|
WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'benevoles_test')\gexec
|