20 Commits

Author SHA1 Message Date
Nurfog 59a4ca5d52 feat: agregar gestión de URL de API CMS para comunicación entre LMS y CMS 2026-04-16 14:53:35 -04:00
Nurfog 387d473a7c feat: update environment configuration for local development and enhance deployment scripts 2026-04-16 10:11:19 -04:00
Nurfog 44facf7f4a Refactor code structure for improved readability and maintainability 2026-04-14 16:20:02 -04:00
Nurfog 169a0a18a2 feat: fixing certificate and block 2026-04-14 13:07:45 -04:00
Nurfog 6ba9a5a024 Add production environment configuration file with database and service URLs 2026-04-09 09:36:28 -04:00
Nurfog 82ac2f09fc Add docker-compose.local.yml for local development setup
- Introduced a new docker-compose.local.yml file to facilitate local development.
- Disabled nginx-proxy and acme-companion services for local use.
- Exposed database and application ports directly to the host for easier access.
- Configured PostgreSQL to be accessible on localhost:5433.
- Mapped application ports for studio and experience services.
2026-04-07 17:36:19 -04:00
Nurfog 66bfb34d34 feat(deploy): export domain variables for docker-compose and improve database initialization logic 2026-04-07 14:40:58 -04:00
Nurfog 024bd6e46d feat: enhance asset import functionality and unit tracking
- Added WHISPER_URL environment variable to docker-compose for audio transcription service.
- Updated Nginx configuration to increase timeout settings for API requests.
- Enhanced asset ingestion process to extract unit numbers from ZIP entry paths, supporting various naming conventions.
- Implemented logic to split intensive courses into two regular courses during asset import.
- Added new fields to the Asset and QuestionBank models to track unit numbers and source asset links.
- Introduced backward-compatible fallbacks for fetching study plans and courses from legacy MySQL database.
- Improved error handling and progress tracking during ZIP file uploads in the frontend.
- Created a new SQL migration to add unit_number and source_asset_id columns to the assets and question_bank tables, along with necessary indexes for performance.
2026-04-07 13:38:22 -04:00
Nurfog 1c67a0c2a9 Refactor code structure for improved readability and maintainability 2026-04-06 15:35:36 -04:00
Nurfog 5226da644c fix(deploy): resolver 502 CMS remoto y estandarizar buildx/s3
- corrige host remoto de deploy y automatiza buildx en servidor
- agrega configuracion S3 (bucket openccb-802726101181-us-east-2-an)
- actualiza Dockerfile de studio a rust:1-bookworm para evitar error GLIBC
- activa cache mounts de buildkit para cargo/npm en studio
2026-04-06 15:08:36 -04:00
Nurfog adb1cbc323 feat: Agregar soporte para Docker Buildx en el script de despliegue 2026-04-06 13:17:39 -04:00
Nurfog 1f01a4a36b feat: Actualizar configuraciones de API y mejorar tiempos de espera en nginx 2026-04-01 16:12:03 -03:00
Nurfog 293b69075a feat: Asegurar dominios públicos en el archivo .env para nginx-proxy y certificados SSL 2026-04-01 11:04:48 -03:00
Nurfog 0bea4173f5 Refactor code structure for improved readability and maintainability 2026-03-31 14:39:04 -03:00
Nurfog 2d54d6abfc feat: Añadir scripts para generar y sincronizar archivos .env, actualizar configuraciones de Docker y mejorar el despliegue en producción 2026-03-31 10:10:44 -03:00
Nurfog f6b6f84427 feat: Añadir configuración de Nginx para API de OpenCCB y corregir URLs de producción 2026-03-30 13:32:51 -03:00
Nurfog e66c5df695 feat: Add Ollama connectivity check to deploy script
- Add verification of IA connectivity after deployment
- Show helpful troubleshooting message if Ollama is not accessible
- Document required UniFi USG Pro 4 configuration
- Add GIT_REPO variable for future use

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-28 09:53:13 -03:00
Nurfog de85e82554 fix: Configure correct API URLs without ports in .env
- Add NEXT_PUBLIC_CMS_API_URL and NEXT_PUBLIC_LMS_API_URL to .env
- URLs use domains without ports (nginx proxy handles routing)
- Add validation to detect URLs with ports that cause CORS errors
- Show warnings if URLs have incorrect port configuration
- Verify environment variables in both .env and containers

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-27 12:17:33 -03:00
Nurfog 76c9a4a2d4 feat: Add database reset and SSL preserve options to deploy script
- Add option to keep or reset database (preserves data by default)
- Add option to preserve existing SSL certificates
- Show warnings before database reset with confirmation
- Skip certificate regeneration when preserve SSL is selected
- Update deployment summary with new options

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-27 11:12:12 -03:00
Nurfog e4866c6dee feat: SAM integration, deployment scripts, and audio response enhancements
- Add SAM (Sistema de Administración Académica) integration with sync endpoints
- Add deployment automation (deploy.sh, remote-setup.sh, setup-nginx-ssl.sh)
- Add nginx proxy configuration for SSL with Let's Encrypt
- Add audio response support for student lessons (migrations, handlers)
- Add audio evaluations admin page
- Update CORS to support wildcard subdomains for norteamericano.cl
- Add comprehensive deployment documentation (DESPLIEGUE.md, ManualDeConfiguracion.md)
- Update docker-compose.yml with nginx-proxy and acme-companion services
- Remove outdated documentation files

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-27 09:20:23 -03:00