feat(dashboard): Ajouter panneau de contrôle des services pour démos
- Ajouter API /api/services pour lister/démarrer/arrêter les services - Ajouter nouvel onglet "Services" comme page d'accueil du dashboard - Indicateurs visuels (vert=actif, rouge=arrêté) pour chaque service - Boutons: Démarrer, Arrêter, Redémarrer, Ouvrir dans navigateur - Support: Agent Chat, VWB Backend, VWB Frontend, Dashboard - Actions groupées: Tout Démarrer / Tout Arrêter - Notifications visuelles pour les actions - Rafraîchissement auto toutes les 5 secondes Services gérés: - Agent Chat (LLM) - port 5002 - VWB Backend - port 5000 - VWB Frontend - port 3000 - Dashboard - port 5001 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
25
start_dashboard.py
Normal file
25
start_dashboard.py
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
"""Script de démarrage du dashboard RPA Vision V3."""
|
||||||
|
|
||||||
|
import sys
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
# Ajouter le répertoire au path
|
||||||
|
sys.path.insert(0, str(Path(__file__).parent))
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
from web_dashboard.app import app, socketio
|
||||||
|
|
||||||
|
print("=" * 50)
|
||||||
|
print("RPA Vision V3 - Dashboard avec Services Manager")
|
||||||
|
print("=" * 50)
|
||||||
|
print(f"URL: http://localhost:5001")
|
||||||
|
print("=" * 50)
|
||||||
|
|
||||||
|
socketio.run(
|
||||||
|
app,
|
||||||
|
host='0.0.0.0',
|
||||||
|
port=5001,
|
||||||
|
debug=False,
|
||||||
|
allow_unsafe_werkzeug=True
|
||||||
|
)
|
||||||
1611
web_dashboard/app.py
Normal file
1611
web_dashboard/app.py
Normal file
File diff suppressed because it is too large
Load Diff
1699
web_dashboard/templates/index.html
Normal file
1699
web_dashboard/templates/index.html
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user