Initial commit

This commit is contained in:
2025-10-28 15:50:53 +08:00
commit 297ef231c5
31 changed files with 12708 additions and 0 deletions

48
setup.bat Normal file
View File

@@ -0,0 +1,48 @@
@echo off
echo ========================================
echo Partner Alignment System Setup
echo ========================================
echo.
REM Check if Python is available
echo Checking Python installation...
py --version
if %errorlevel% neq 0 (
echo ERROR: Python is not installed or not in PATH
echo Please install Python 3.8+ from https://python.org
pause
exit /b 1
)
echo Python found! Creating virtual environment...
py -m venv venv
if %errorlevel% neq 0 (
echo ERROR: Failed to create virtual environment
pause
exit /b 1
)
echo Activating virtual environment...
call venv\Scripts\activate.bat
echo Installing Python dependencies...
pip install --upgrade pip
pip install -r requirements.txt
if %errorlevel% neq 0 (
echo ERROR: Failed to install dependencies
pause
exit /b 1
)
echo.
echo ========================================
echo Setup completed successfully!
echo ========================================
echo.
echo To start the application, run: run.bat
echo Or manually activate the environment and run:
echo venv\Scripts\activate.bat
echo py app.py
echo.
pause