@echo off echo ======================================== echo Multilingual Pain Assessment System echo ======================================== echo. REM Check if .env file exists if not exist "Backend\.env" ( echo [WARNING] Backend\.env file not found echo [INFO] Creating .env file from template... copy Backend\.env.example Backend\.env >nul 2>&1 echo. echo [IMPORTANT] Please edit Backend\.env and add your OpenAI API Key: echo 1. Open file: Backend\.env echo 2. Replace "your-openai-api-key-here" with your actual API Key echo 3. Save the file and run this script again echo. echo Get API Key at: https://platform.openai.com/api-keys echo. pause notepad Backend\.env exit /b 1 ) REM Check if .env has real API Key configured findstr /C:"your-openai-api-key-here" Backend\.env >nul if %errorlevel% equ 0 ( echo [ERROR] Please configure OpenAI API Key first echo. echo Edit Backend\.env file: echo OPENAI_API_KEY=sk-your-real-api-key-here echo. echo Opening editor now... notepad Backend\.env pause exit /b 1 ) echo .env file configured echo Starting server... echo go http://localhost:8000/docs to access API docs echo. cd Backend python main.py pause