-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart_obesitrack.bat
More file actions
38 lines (32 loc) · 960 Bytes
/
start_obesitrack.bat
File metadata and controls
38 lines (32 loc) · 960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@echo off
echo 🚀 Démarrage d'ObesiTrack
echo ========================
echo.
echo 📡 Lancement de l'API...
start "API ObesiTrack" cmd /k "python start_api.py"
echo.
echo ⏳ Attente du démarrage de l'API...
timeout /t 5 /nobreak > nul
echo.
echo 🌐 Lancement du Frontend...
start "Frontend ObesiTrack" cmd /k "python serve_frontend.py"
echo.
echo ⏳ Attente du démarrage du Frontend...
timeout /t 3 /nobreak > nul
echo.
echo ✅ ObesiTrack est maintenant opérationnel!
echo.
echo 🌐 URLs disponibles:
echo - API: http://localhost:8001
echo - Documentation: http://localhost:8001/docs
echo - Frontend: http://localhost:3000
echo - Test: http://localhost:3000/test_frontend.html
echo.
echo 📊 Données de test:
echo - 32 utilisateurs (22 normaux + 10 admins)
echo - 30 prédictions
echo - Mots de passe: password123 (users) / admin123 (admins)
echo.
echo 🛑 Fermez les fenêtres pour arrêter les services
echo.
pause