- 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>
17 lines
515 B
Plaintext
17 lines
515 B
Plaintext
# 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
|