Added everything

This commit is contained in:
Juan M. Ley
2026-03-16 21:05:52 -06:00
parent 00e997debf
commit b526e23149
44 changed files with 2147 additions and 3 deletions

52
enable-venv.bat Normal file
View File

@@ -0,0 +1,52 @@
@echo off
REM Script para habilitar el entorno virtual de VoxPopuli Microservices (Windows)
setlocal enabledelayedexpansion
echo.
echo ========================================
echo VoxPopuli Microservices Setup
echo ========================================
echo.
REM Crear entorno virtual si no existe
if not exist "venv" (
echo Creando entorno virtual...
python -m venv venv
echo [OK] Entorno virtual creado
) else (
echo [OK] Entorno virtual ya existe
)
REM Activar entorno virtual
echo Activando entorno virtual...
call venv\Scripts\activate.bat
echo [OK] Entorno virtual activado
REM Instalar dependencias
if exist "requirements.txt" (
echo Instalando dependencias...
pip install -r requirements.txt
echo [OK] Dependencias instaladas
)
REM Verificar archivo .env
if not exist ".env" (
if exist ".env.example" (
echo Creando archivo .env desde .env.example...
copy .env.example .env
echo [ATENCION] Por favor, actualiza .env con tus credenciales
)
)
echo.
echo ========================================
echo [OK] Setup completado
echo ========================================
echo.
echo Para ejecutar los microservicios:
echo cd src
echo python main.py
echo.
pause