-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun-project.bat
More file actions
34 lines (30 loc) · 1.1 KB
/
Copy pathrun-project.bat
File metadata and controls
34 lines (30 loc) · 1.1 KB
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
@echo off
title FitcirclePro - Launcher
color 0A
echo ==========================================================
echo Starting FitcirclePro Project
echo ==========================================================
echo.
:: Clean up any existing ports first to avoid conflict errors
echo [1/3] Freeing up backend ports if they are already in use...
cd server
call npm run kill
cd ..
echo Ports cleared!
echo.
:: Start the Backend Microservices (Gateway + 7 services)
echo [2/3] Starting Backend Services in a new window...
start "FitcirclePro - Backend Microservices" cmd /c "cd server && npm run dev"
:: Start the Frontend Client
echo [3/3] Starting Frontend Client in a new window...
start "FitcirclePro - Frontend" cmd /c "cd client && npm run dev"
echo.
echo ==========================================================
echo Services are starting! Keep the newly opened windows
echo open to run the project.
echo - Backend runs on Gateway (Proxy/Router)
echo - Frontend Client will open in browser
echo ==========================================================
echo.
timeout /t 2 >nul
exit