@echo off REM PaperDash Server Startup Script REM Creates conda env if needed, installs dependencies, and starts the server setlocal cd /d "%~dp0" REM Check if conda env exists if not exist "conda_env" ( echo Creating conda environment... conda create -y -n paperdash python=3.11 call conda activate paperdash ) else ( call conda activate paperdash ) REM Install dependencies echo Installing dependencies... pip install --upgrade pip pip install -r requirements.txt REM Run the server echo Starting PaperDash server... echo Dashboard: http://localhost:8921 echo API docs: http://localhost:8921/docs echo. echo Set environment variables before starting: echo DASHBOARD_PIN=1234 echo API_TOKEN=your-token echo. uvicorn main:app --host 0.0.0.0 --port 8921 --reload