-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_app.bat
More file actions
55 lines (45 loc) · 1.14 KB
/
Copy pathrun_app.bat
File metadata and controls
55 lines (45 loc) · 1.14 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
@echo off
REM Ultimate Fantasy Football Trade Analyzer Runner for Windows
REM This script sets up and runs the Streamlit app
echo ====================================================
echo Ultimate Fantasy Football Trade Analyzer
echo ====================================================
echo.
REM Check if Python is installed
python --version >nul 2>&1
if errorlevel 1 (
echo [ERROR] Python is not installed or not in PATH
echo Please install Python 3.8 or higher from python.org
pause
exit /b 1
)
echo [OK] Python found
python --version
echo.
REM Check if pip is installed
pip --version >nul 2>&1
if errorlevel 1 (
echo [ERROR] pip is not installed or not in PATH
pause
exit /b 1
)
echo [OK] pip found
echo.
REM Install dependencies
echo Installing dependencies...
pip install -r requirements.txt
if errorlevel 1 (
echo [ERROR] Failed to install dependencies
pause
exit /b 1
)
echo.
echo [OK] Dependencies installed successfully
echo.
REM Run the Streamlit app
echo Starting Streamlit app...
echo The app will open in your browser automatically.
echo Press Ctrl+C to stop the server.
echo.
streamlit run app.py
pause