@echo off REM Supply Chain Environment - Quick Start for Windows REM This script starts the server on port 8000 echo ================================================================================ echo SUPPLY CHAIN ENVIRONMENT - QUICK START (Windows) echo ================================================================================ echo. REM Check if we're in the right directory if not exist "supply_chain_env\server\app.py" ( echo Navigating to project directory... cd /d "%~dp0" ) echo [1/4] Checking Python installation... python --version >nul 2>&1 if errorlevel 1 ( echo Error: Python not found. Please install Python 3.10+ pause exit /b 1 ) python --version echo. echo [2/4] Checking dependencies... python -c "import fastapi; import uvicorn; print('OK')" >nul 2>&1 if errorlevel 1 ( echo Installing dependencies from server/requirements.txt... pip install -r server/requirements.txt ) echo Dependencies OK echo. echo [3/4] Starting server on http://localhost:8000... echo ================================================================================ echo. REM Change to supply_chain_env directory and start server cd /d supply_chain_env python -m uvicorn server.app:app --host 0.0.0.0 --port 8000 --reload echo. echo ================================================================================ echo SERVER STOPPED echo ================================================================================ pause