File size: 625 Bytes
600f3a7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@echo off
setlocal

REM Navigate to the backend directory
cd backend

REM Check if virtual environment exists, if not, create it
if not exist venv (
    echo Creating virtual environment...
    python -m venv venv
)

REM Activate virtual environment
echo Activating virtual environment...
call venv\Scripts\activate

REM Install dependencies
echo Installing dependencies from requirements.txt...
pip install -r requirements.txt

REM Check if .env file exists, if not, create it from .env.example
if not exist .env (
    echo Creating .env from .env.example...
    copy .env.example .env
)

echo Setup complete.
endlocal
pause