-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.bat
More file actions
30 lines (25 loc) · 695 Bytes
/
start.bat
File metadata and controls
30 lines (25 loc) · 695 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
@echo off
:: Double-click this file on Windows to launch Research Task Manager.
cd /d "%~dp0"
echo ========================================
echo Research Task Manager
echo ========================================
python --version >nul 2>&1
if errorlevel 1 (
echo [ERROR] Python not found.
echo Install from https://python.org and try again.
pause
exit /b 1
)
if not exist ".venv" (
echo [->] Creating virtual environment...
python -m venv .venv
)
call .venv\Scripts\activate
echo [->] Checking dependencies...
pip install -q -r requirements.txt
echo [->] Starting app at http://localhost:8080
echo Close this window to stop.
echo.
python app.py
pause