-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
33 lines (29 loc) · 706 Bytes
/
setup.bat
File metadata and controls
33 lines (29 loc) · 706 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
@echo off
echo Starting Stock Market Dashboard Setup...
echo Installing backend dependencies...
cd backend
call npm install
if %ERRORLEVEL% neq 0 (
echo Error installing backend dependencies
exit /b %ERRORLEVEL%
)
echo Installing frontend dependencies...
cd ../frontend
call npm install
if %ERRORLEVEL% neq 0 (
echo Error installing frontend dependencies
exit /b %ERRORLEVEL%
)
echo Setup completed successfully!
echo.
echo To start the application:
echo 1. Start the backend: cd backend
echo Then run: npm run dev
echo 2. Start the frontend: cd frontend
echo Then run: npm start
echo.
echo Alternatively, if you have Docker installed:
echo Run: docker-compose up
echo.
cd ..
pause