feat: Complete ATLAS system installation and API fixes

## Backend Changes
- Add new API endpoints: combustible, pois, mantenimiento, video, configuracion
- Fix vehiculos endpoint to return paginated response with items array
- Add /vehiculos/all endpoint for non-paginated list
- Add /geocercas/all endpoint
- Add /alertas/configuracion GET/PUT endpoints
- Add /viajes/activos and /viajes/iniciar endpoints
- Add /reportes/stats, /reportes/templates, /reportes/preview endpoints
- Add /conductores/all and /conductores/disponibles endpoints
- Update router.py to include all new modules

## Frontend Changes
- Fix authentication token handling (snake_case vs camelCase)
- Update vehiculosApi.listAll to use /vehiculos/all
- Fix FuelGauge component usage in Combustible page
- Fix chart component exports (named + default exports)
- Update API client for proper token refresh

## Infrastructure
- Rename services from ADAN to ATLAS
- Configure Cloudflare tunnel for atlas.consultoria-as.com
- Update systemd service files
- Configure PostgreSQL with TimescaleDB
- Configure Redis, Mosquitto, Traccar, MediaMTX

## Documentation
- Update installation guides
- Update API reference
- Rename all ADAN references to ATLAS

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
ATLAS Admin
2026-01-25 03:04:23 +00:00
parent 0dfce3ce20
commit e59aa2a742
73 changed files with 4415 additions and 450 deletions

View File

@@ -1,12 +1,12 @@
# Manual del Administrador
Guia completa para administrar el sistema ADAN.
Guia completa para administrar el sistema ATLAS.
## Acceso al Sistema
### Iniciar Sesion
1. Abrir `https://adan.tudominio.com` en el navegador
1. Abrir `https://atlas.tudominio.com` en el navegador
2. Ingresar email y contrasena
3. Click en "Ingresar"
@@ -386,15 +386,15 @@ Los mensajes y respuestas aparecen como conversacion en el detalle del conductor
```bash
ssh admin@servidor
/opt/adan/scripts/backup.sh
/opt/atlas/scripts/backup.sh
```
Los backups se guardan en `/opt/adan/backups/`
Los backups se guardan en `/opt/atlas/backups/`
### Restaurar Backup
```bash
/opt/adan/scripts/restore.sh /opt/adan/backups/db_20260121.sql.gz
/opt/atlas/scripts/restore.sh /opt/atlas/backups/db_20260121.sql.gz
```
### Backups Automaticos
@@ -408,5 +408,5 @@ Se ejecutan diariamente a las 3:00 AM. Se mantienen los ultimos 7 dias.
Para problemas tecnicos:
1. Revisar [Solucion de Problemas](troubleshooting.md)
2. Revisar logs: `journalctl -u adan-api -f`
2. Revisar logs: `journalctl -u atlas-api -f`
3. Contactar soporte tecnico