Initial commit
This commit is contained in:
35
run.bat
Normal file
35
run.bat
Normal file
@@ -0,0 +1,35 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user