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:
@@ -1,6 +1,6 @@
|
||||
# Configuracion de Video Streaming
|
||||
|
||||
Guia para configurar camaras y video streaming en ADAN.
|
||||
Guia para configurar camaras y video streaming en ATLAS.
|
||||
|
||||
## Arquitectura de Video
|
||||
|
||||
@@ -12,7 +12,7 @@ Camaras en Vehiculos Servidor Dashboard/App
|
||||
[Cam IP] --RTSP--> |
|
||||
|
|
||||
[Grabaciones]
|
||||
/opt/adan/videos/
|
||||
/opt/atlas/videos/
|
||||
```
|
||||
|
||||
## Tipos de Camaras Soportadas
|
||||
@@ -50,7 +50,7 @@ Cualquier camara con:
|
||||
|
||||
### 4. Celular como Dashcam
|
||||
|
||||
La app ADAN puede usar la camara del celular:
|
||||
La app ATLAS puede usar la camara del celular:
|
||||
- Sin costo adicional
|
||||
- Calidad depende del celular
|
||||
- Consume bateria y datos
|
||||
@@ -240,7 +240,7 @@ Configurar en **Configuracion** > **Retencion de datos**:
|
||||
Script de limpieza automatica:
|
||||
```bash
|
||||
# Ejecutar diariamente via cron
|
||||
find /opt/adan/videos -name "*.mp4" -mtime +30 -delete
|
||||
find /opt/atlas/videos -name "*.mp4" -mtime +30 -delete
|
||||
```
|
||||
|
||||
---
|
||||
@@ -344,10 +344,10 @@ Soluciones:
|
||||
Verificar:
|
||||
```bash
|
||||
# Espacio en disco
|
||||
df -h /opt/adan/videos
|
||||
df -h /opt/atlas/videos
|
||||
|
||||
# Permisos
|
||||
ls -la /opt/adan/videos
|
||||
ls -la /opt/atlas/videos
|
||||
|
||||
# Logs de MediaMTX
|
||||
journalctl -u mediamtx -f
|
||||
|
||||
Reference in New Issue
Block a user