-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun-dev.bat
More file actions
31 lines (26 loc) · 983 Bytes
/
Copy pathrun-dev.bat
File metadata and controls
31 lines (26 loc) · 983 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
@echo off
echo ===================================================
echo Starting TaskSphere Local Development Environment...
echo ===================================================
echo.
echo [1/4] Starting PostgreSQL Docker Container...
docker-compose up -d db
echo.
echo [2/4] Waiting for PostgreSQL database to be ready (5s)...
timeout /t 5 /nobreak > NUL
echo.
echo [3/4] Launching Backend API Server (Port 5000)...
start "TaskSphere Backend Dev" cmd /c "cd backend && npm run dev"
echo.
echo [4/4] Launching Frontend Dev Server (Port 5173)...
start "TaskSphere Frontend Dev" cmd /c "cd frontend && npm run dev"
echo.
echo ===================================================
echo All services triggered.
echo Opening browser to http://localhost:5173 in 3 seconds...
echo ===================================================
timeout /t 3 /nobreak > NUL
start http://localhost:5173
echo.
echo Done! Feel free to close this terminal. Dev server windows will remain open.
pause