Spaces:
Build error
Build error
| @echo off | |
| echo Starting NN3D Visualizer Backend... | |
| echo. | |
| REM Check if virtual environment exists | |
| if not exist "venv" ( | |
| echo Creating virtual environment... | |
| python -m venv venv | |
| ) | |
| REM Activate virtual environment | |
| call venv\Scripts\activate.bat | |
| REM Install dependencies | |
| echo Installing dependencies... | |
| pip install -r requirements.txt --quiet | |
| REM Start the server | |
| echo. | |
| echo Starting FastAPI server on http://localhost:8000 | |
| echo API docs available at http://localhost:8000/docs | |
| echo. | |
| python -m uvicorn app.main:app --reload --host 0.0.0.0 --port 8000 | |