goatifi / run.bat
KonoDioDaa's picture
Initial FlowTwin deployment
e7a9f02
Raw
History Blame Contribute Delete
368 Bytes
@echo off
REM Start FlowTwin. Serves the API and the Race Control dashboard on one port.
cd /d "%~dp0backend"
if "%FLOWTWIN_HOST%"=="" set FLOWTWIN_HOST=127.0.0.1
if "%FLOWTWIN_PORT%"=="" set FLOWTWIN_PORT=8000
echo FlowTwin - Race Control
echo http://%FLOWTWIN_HOST%:%FLOWTWIN_PORT%
python -m uvicorn flowtwin.main:app --host %FLOWTWIN_HOST% --port %FLOWTWIN_PORT%