diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 448c511..f19c67b 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -6,7 +6,28 @@ "Bash(git init:*)", "Bash(git add:*)", "Bash(git commit -m \"$\\(cat <<''EOF''\nImplementación inicial del sistema de automatización de redes sociales\n\n- Estructura completa del proyecto con FastAPI\n- Modelos de base de datos \\(productos, servicios, posts, calendario, interacciones\\)\n- Publishers para X, Threads, Instagram, Facebook\n- Generador de contenido con DeepSeek API\n- Worker de Celery con tareas programadas\n- Dashboard básico con templates HTML\n- Docker Compose para despliegue\n- Documentación completa\n\nCo-Authored-By: Claude Opus 4.5 \nEOF\n\\)\")", - "Bash(git config:*)" + "Bash(git config:*)", + "Bash(curl:*)", + "Bash(git branch:*)", + "Bash(git remote add:*)", + "Bash(git push:*)", + "Bash(python3:*)", + "Bash(source:*)", + "Bash(pip install:*)", + "Bash(apt-get update:*)", + "Bash(apt-get install:*)", + "Bash(docker:*)", + "Bash(git commit:*)", + "Bash(python:*)", + "Bash(chmod:*)", + "Bash(grep:*)", + "Bash(ls:*)", + "Bash(whereis:*)", + "Bash(install:*)", + "Bash(tee:*)", + "Bash(systemctl start:*)", + "Bash(systemctl enable:*)", + "Bash(systemctl is-enabled:*)" ] } } diff --git a/app/core/config.py b/app/core/config.py index 4b8bd9c..dc17b3f 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -63,9 +63,16 @@ class Settings(BaseSettings): ODOO_PASSWORD: Optional[str] = None # API key or password ODOO_SYNC_ENABLED: bool = False + # SMTP (Optional - for email notifications) + SMTP_HOST: Optional[str] = None + SMTP_PORT: int = 587 + SMTP_USER: Optional[str] = None + SMTP_PASSWORD: Optional[str] = None + class Config: env_file = ".env" case_sensitive = True + extra = "ignore" # Ignore extra env vars not defined here # Instancia global de configuración diff --git a/docker-compose.yml b/docker-compose.yml index 166b2d3..75d723b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3.8' - services: # =========================================== # APLICACIÓN PRINCIPAL (FastAPI) diff --git a/requirements.txt b/requirements.txt index b9b4e3d..9c5e64f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -34,6 +34,9 @@ pydantic-settings==2.1.0 python-jose[cryptography]==3.3.0 passlib[bcrypt]==1.7.4 +# Estadísticas (A/B Testing) +scipy==1.11.4 + # Templates HTML jinja2==3.1.3