Files
1015_IT_behavior_alignment_V2/run.bat
2025-10-28 15:50:53 +08:00

36 lines
847 B
Batchfile

@echo off
echo Starting Partner Alignment System...
echo.
REM Check if Python is available
py --version >nul 2>&1
if %errorlevel% neq 0 (
echo Python is not installed or not in PATH
echo Please install Python 3.8+ and try again
pause
exit /b 1
)
REM Check if virtual environment exists
if not exist "venv" (
echo Creating virtual environment...
py -m venv venv
)
REM Activate virtual environment
echo Activating virtual environment...
call venv\Scripts\activate.bat
REM Install minimal dependencies
echo Installing minimal dependencies...
pip install Flask Flask-SQLAlchemy Flask-CORS
REM Start the simplified application (includes test account creation)
echo Starting simplified application...
echo Open your browser and go to: http://localhost:5000
echo Press Ctrl+C to stop the server
echo.
py simple_app.py
pause