Muhammad Saad commited on
Commit
f4990f7
·
1 Parent(s): 2627310

'changes'

Browse files
Files changed (2) hide show
  1. run.bat +0 -15
  2. setup.bat +0 -29
run.bat DELETED
@@ -1,15 +0,0 @@
1
- @echo off
2
- setlocal
3
-
4
- REM Navigate to the backend directory
5
- cd backend
6
-
7
- REM Activate virtual environment
8
- echo Activating virtual environment...
9
- call venv\Scripts\activate
10
-
11
- REM Start the uvicorn server
12
- echo Starting FastAPI application with uvicorn...
13
- uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
14
-
15
- endlocal
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
setup.bat DELETED
@@ -1,29 +0,0 @@
1
- @echo off
2
- setlocal
3
-
4
- REM Navigate to the backend directory
5
- cd backend
6
-
7
- REM Check if virtual environment exists, if not, create it
8
- if not exist venv (
9
- echo Creating virtual environment...
10
- python -m venv venv
11
- )
12
-
13
- REM Activate virtual environment
14
- echo Activating virtual environment...
15
- call venv\Scripts\activate
16
-
17
- REM Install dependencies
18
- echo Installing dependencies from requirements.txt...
19
- pip install -r requirements.txt
20
-
21
- REM Check if .env file exists, if not, create it from .env.example
22
- if not exist .env (
23
- echo Creating .env from .env.example...
24
- copy .env.example .env
25
- )
26
-
27
- echo Setup complete.
28
- endlocal
29
- pause