Initial production-ready release of OpenCare v1

- Flask/SQLAlchemy app with profile, dashboard, recommendations
- AI crawl pipeline (GPT-4o) with admin review workflow
- 14 curated health sources (RSS + index crawling)
- Production config: env vars, Gunicorn, systemd, nginx
- deploy/ scripts for VPS setup and updates

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-05 21:38:03 +02:00
commit efd775706b
28 changed files with 4682 additions and 0 deletions

16
.env.example Normal file
View File

@@ -0,0 +1,16 @@
# Copier ce fichier en .env et remplir les valeurs
# Ne jamais committer .env dans git
# Clé secrète Flask — générer avec : python -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=change-me-with-a-strong-random-key
# Base de données (SQLite par défaut, PostgreSQL possible)
# SQLite : sqlite:///opencare.db
# Postgres: postgresql://user:password@localhost/opencare
DATABASE_URL=sqlite:///opencare.db
# Environnement
FLASK_ENV=production
# Port d'écoute (optionnel, défaut 5000)
PORT=5000