-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.bat
More file actions
28 lines (23 loc) · 683 Bytes
/
install.bat
File metadata and controls
28 lines (23 loc) · 683 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
@echo off
echo Setting up the Scouting-App...
:: Check if Python is installed
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo Python is not installed! Please install Python 3.7+ and try again.
exit /b 1
)
:: Create and activate virtual environment
echo Creating virtual environment...
python -m venv venv
call venv\Scripts\activate
:: Upgrade pip
echo Upgrading pip...
python -m pip install --upgrade pip
:: Install requirements
echo Installing required packages...
pip install -r requirements.txt
echo.
echo Installation complete! You can now run the app with:
echo python app\main.py
echo.
echo Don't forget to set up your environment variables if needed.