-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.bat
More file actions
40 lines (34 loc) · 893 Bytes
/
Copy pathdev.bat
File metadata and controls
40 lines (34 loc) · 893 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
39
40
@echo off
REM SupportBro Development Script for Windows
echo Starting SupportBro in Development Mode...
echo.
REM Check if node_modules exists in root
if not exist "node_modules" (
echo Installing root dependencies...
call npm install
)
REM Check if backend dependencies are installed
if not exist "support-ticket-system\node_modules" (
echo Installing backend dependencies...
cd support-ticket-system
call npm install
cd ..
)
REM Check if frontend dependencies are installed
if not exist "support-frontend\node_modules" (
echo Installing frontend dependencies...
cd support-frontend
call npm install
cd ..
)
echo.
echo All dependencies installed!
echo.
echo Starting servers...
echo - Backend: http://localhost:5000
echo - Frontend: http://localhost:3000
echo.
echo Press Ctrl+C to stop both servers
echo.
REM Run both servers
npm run dev