- 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>
26 lines
572 B
Python
26 lines
572 B
Python
#!/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
|
|
)
|