- 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>
45 lines
1.2 KiB
Bash
Executable File
45 lines
1.2 KiB
Bash
Executable File
#!/bin/bash
|
|
# TEST_NOW.sh
|
|
# Script ultra-simple pour tester le serveur immédiatement
|
|
|
|
echo "🚀 RPA Vision V3 - Test Rapide"
|
|
echo "================================"
|
|
echo ""
|
|
|
|
# 1. Vérifier l'environnement
|
|
if [ ! -d "venv_v3" ]; then
|
|
echo "❌ Environnement virtuel non trouvé"
|
|
exit 1
|
|
fi
|
|
|
|
source venv_v3/bin/activate
|
|
|
|
# 2. Vérifier les dépendances
|
|
echo "📦 Vérification dépendances..."
|
|
python -c "import fastapi, flask, cryptography" 2>/dev/null
|
|
if [ $? -ne 0 ]; then
|
|
echo "⚠️ Installation des dépendances..."
|
|
pip install -q fastapi 'uvicorn[standard]' python-multipart flask cryptography
|
|
fi
|
|
echo "✅ Dépendances OK"
|
|
echo ""
|
|
|
|
# 3. Lancer les tests
|
|
echo "🧪 Lancement des tests..."
|
|
pytest tests/integration/test_server_pipeline.py -v --tb=short 2>&1 | grep -E "(PASSED|FAILED|passed|failed)"
|
|
echo ""
|
|
|
|
# 4. Démarrer le serveur
|
|
echo "🚀 Démarrage du serveur..."
|
|
echo ""
|
|
echo "📝 Commandes disponibles:"
|
|
echo " - Démarrer: ./server/start_all.sh"
|
|
echo " - Dashboard: xdg-open http://localhost:5001"
|
|
echo " - Test API: curl http://localhost:8000/api/traces/status"
|
|
echo ""
|
|
echo "📚 Documentation:"
|
|
echo " - Quick Start: QUICK_START_SERVER.md"
|
|
echo " - Guide complet: SERVER_READY_TO_TEST.md"
|
|
echo ""
|
|
echo "✅ Prêt pour les tests!"
|