v1.0 - Version stable: multi-PC, détection UI-DETR-1, 3 modes exécution
- 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>
This commit is contained in:
45
visual_workflow_builder/backend/start_fast.sh
Executable file
45
visual_workflow_builder/backend/start_fast.sh
Executable file
@@ -0,0 +1,45 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Script de démarrage rapide du backend Visual Workflow Builder
|
||||
# Auteur : Dom, Alice, Kiro - 08 janvier 2026
|
||||
|
||||
echo "⚡ DÉMARRAGE RAPIDE - BACKEND VWB"
|
||||
echo "=================================="
|
||||
|
||||
# Détecter python ou python3
|
||||
if command -v python3 > /dev/null; then
|
||||
PYTHON_CMD=python3
|
||||
elif command -v python > /dev/null; then
|
||||
PYTHON_CMD=python
|
||||
else
|
||||
echo "❌ Erreur: Python n'est pas installé"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "🐍 Python: $PYTHON_CMD"
|
||||
|
||||
# Vérifier si nous sommes dans le bon répertoire
|
||||
if [ ! -f "app_lightweight.py" ]; then
|
||||
echo "❌ Erreur: Exécutez depuis visual_workflow_builder/backend/"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Créer les répertoires nécessaires
|
||||
echo "📁 Préparation des répertoires..."
|
||||
mkdir -p ../../data/workflows
|
||||
mkdir -p logs
|
||||
|
||||
# Définir les variables d'environnement
|
||||
export FLASK_ENV=production
|
||||
export PORT=5002
|
||||
|
||||
echo "🚀 Démarrage du backend allégé..."
|
||||
echo "🌐 URL: http://localhost:5002"
|
||||
echo "❤️ Health: http://localhost:5002/health"
|
||||
echo "📋 API: http://localhost:5002/api/workflows"
|
||||
echo ""
|
||||
echo "Appuyez sur Ctrl+C pour arrêter"
|
||||
echo ""
|
||||
|
||||
# Démarrer le serveur allégé
|
||||
$PYTHON_CMD app_lightweight.py
|
||||
Reference in New Issue
Block a user