Files
PatoisSMEH/start.bat

29 lines
827 B
Batchfile

@echo off
echo ==============================================
echo Demarrage de l'application Patois
echo Franco-Provencal (Backend + Frontend)
echo ==============================================
echo.
echo [1/2] Demarrage du serveur API backend...
cd /d "%~dp0backend"
start "API Backend" cmd /k "npm start"
echo [2/2] Attente de 3 secondes pour le demarrage de l'API...
timeout /t 3 /nobreak > nul
echo [2/2] Demarrage du frontend Vue.js...
cd /d "%~dp0"
start "Frontend Vue.js" cmd /k "npm run dev"
echo.
echo ==============================================
echo Application demarree avec succes !
echo.
echo Frontend: http://localhost:5173
echo API: http://localhost:3001
echo ==============================================
echo.
echo Fermez cette fenetre quand vous voulez arreter l'application.
pause