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:
Dom
2026-01-29 11:23:51 +01:00
parent 21bfa3b337
commit a27b74cf22
1595 changed files with 412691 additions and 400 deletions

70
visual_workflow_builder/stop.sh Executable file
View File

@@ -0,0 +1,70 @@
#!/bin/bash
#
# Stop Visual Workflow Builder - Full Stack
#
# This script stops both backend (Flask) and frontend (React) servers
#
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Colors for output
GREEN='\033[0;32m'
RED='\033[0;31m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
NC='\033[0m' # No Color
echo "=========================================="
echo "Visual Workflow Builder - Stop All"
echo "=========================================="
BACKEND_STOPPED=0
FRONTEND_STOPPED=0
# Stop Frontend
if [ -d "$SCRIPT_DIR/frontend" ] && [ -f "$SCRIPT_DIR/frontend/stop.sh" ]; then
echo -e "${BLUE}Stopping Frontend...${NC}"
cd "$SCRIPT_DIR/frontend"
./stop.sh
FRONTEND_STOPPED=1
else
# Try to kill any process on port 3000
echo -e "${BLUE}Checking for processes on port 3000...${NC}"
FRONTEND_PIDS=$(lsof -ti:3000 2>/dev/null)
if [ ! -z "$FRONTEND_PIDS" ]; then
echo "Killing processes on port 3000: $FRONTEND_PIDS"
kill $FRONTEND_PIDS 2>/dev/null
sleep 1
kill -9 $FRONTEND_PIDS 2>/dev/null
FRONTEND_STOPPED=1
fi
fi
# Stop Backend
if [ -f "$SCRIPT_DIR/backend/stop.sh" ]; then
echo ""
echo -e "${BLUE}Stopping Backend...${NC}"
cd "$SCRIPT_DIR/backend"
./stop.sh
BACKEND_STOPPED=1
else
# Try to kill any process on port 5001
echo -e "${BLUE}Checking for processes on port 5001...${NC}"
BACKEND_PIDS=$(lsof -ti:5001 2>/dev/null)
if [ ! -z "$BACKEND_PIDS" ]; then
echo "Killing processes on port 5001: $BACKEND_PIDS"
kill $BACKEND_PIDS 2>/dev/null
sleep 1
kill -9 $BACKEND_PIDS 2>/dev/null
BACKEND_STOPPED=1
fi
fi
echo ""
echo "=========================================="
if [ $BACKEND_STOPPED -eq 1 ] || [ $FRONTEND_STOPPED -eq 1 ]; then
echo -e "${GREEN}✓ Services Stopped${NC}"
else
echo -e "${YELLOW}No services were running${NC}"
fi
echo "=========================================="