room-visualizer-api / backend /run_backend.bat
Johnntirs's picture
Room Visualizer backend (Docker)
0cdb4e8
Raw
History Blame Contribute Delete
685 Bytes
@echo off
REM ============================================================
REM Double-click this file to start the Room Visualizer backend.
REM It serves on your Wi-Fi so your phone can reach it.
REM ============================================================
cd /d "%~dp0"
echo.
echo Starting backend on http://0.0.0.0:8000
echo.
echo Your phone uses: http://YOUR-PC-IP:8000
echo Find YOUR-PC-IP: open a new window and run ipconfig
echo (look for "IPv4 Address" under Wi-Fi)
echo.
echo Keep this window OPEN. Press Ctrl+C to stop.
echo.
".venv\Scripts\python.exe" -m uvicorn app.main:app --host 0.0.0.0 --port 8000
echo.
echo Backend stopped.
pause