File size: 368 Bytes
e7a9f02
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
@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%