-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup-dev.bat
More file actions
42 lines (34 loc) Β· 866 Bytes
/
setup-dev.bat
File metadata and controls
42 lines (34 loc) Β· 866 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
41
42
@echo off
echo π Setting up Wall Street Game for local development...
REM Backend setup
echo π¦ Setting up backend...
cd backend
if not exist "venv" (
echo Creating virtual environment...
python -m venv venv
)
echo Activating virtual environment...
call venv\Scripts\activate.bat
echo Installing backend dependencies...
pip install -r requirements.txt
echo β
Backend setup complete!
REM Frontend setup
echo π¦ Setting up frontend...
cd ..\frontend
echo Installing frontend dependencies...
npm install
echo β
Frontend setup complete!
echo.
echo π Setup complete! To start development:
echo.
echo Backend (Command Prompt 1):
echo cd backend
echo venv\Scripts\activate
echo uvicorn api:app --reload
echo.
echo Frontend (Command Prompt 2):
echo cd frontend
echo npm start
echo.
echo π Open http://localhost:3000 to play!
pause