ai-textbook-backend / start.bat
AI Development Team
feat(ui): AgentFactory-inspired dark theme redesign
5c4bfe8
@echo off
REM Batch script to start the backend server
REM Usage: start.bat
echo Starting AI Textbook Backend Server...
REM Activate virtual environment
if exist "venv\Scripts\activate.bat" (
echo Activating virtual environment...
call venv\Scripts\activate.bat
) else (
echo Virtual environment not found. Creating one...
python -m venv venv
call venv\Scripts\activate.bat
)
REM Install dependencies
echo Installing dependencies...
pip install -r requirements.txt
REM Start the server
echo.
echo Server starting on http://localhost:8001
echo Press Ctrl+C to stop the server
echo.
python -m uvicorn main:app --host 0.0.0.0 --port 8001 --reload