- Frontend v4 accessible sur réseau local (192.168.1.40) - Ports ouverts: 3002 (frontend), 5001 (backend), 5004 (dashboard) - Ollama GPU fonctionnel - Self-healing interactif - Dashboard confiance Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
26 lines
668 B
Python
26 lines
668 B
Python
#!/usr/bin/env python3
|
|
"""Test rapide de la documentation"""
|
|
|
|
import requests
|
|
import json
|
|
|
|
def test_services():
|
|
"""Test des services"""
|
|
print("🔗 Test des services...")
|
|
|
|
try:
|
|
# Test frontend
|
|
response = requests.get("http://localhost:3000/", timeout=5)
|
|
print(f"✅ Frontend (3000): {response.status_code}")
|
|
|
|
# Test backend
|
|
response = requests.get("http://localhost:5002/", timeout=5)
|
|
print(f"✅ Backend (5002): {response.status_code}")
|
|
|
|
return True
|
|
except Exception as e:
|
|
print(f"❌ Erreur: {e}")
|
|
return False
|
|
|
|
if __name__ == "__main__":
|
|
test_services() |