-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstart_all.bat
More file actions
28 lines (21 loc) · 1.05 KB
/
start_all.bat
File metadata and controls
28 lines (21 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@echo off
REM Start all services for multimode_expts in separate Git Bash windows
cd /d "%~dp0"
REM Start nameserver
start "" "C:\Program Files\Git\git-bash.exe" -c "cd '%~dp0' && pixi run python start_nameserver.py; read -p 'Press Enter to close...'"
REM Wait a moment for nameserver to initialize
timeout /t 2 /nobreak >nul
REM Start FastAPI server
start "" "C:\Program Files\Git\git-bash.exe" -c "cd '%~dp0' && pixi run python -m uvicorn job_server.server:app --host 0.0.0.0 --port 8000; read -p 'Press Enter to close...'"
echo.
echo ============================================================
echo Pyro nameserver and job server are starting...
echo.
echo Please start the Pyro instrument daemon on the RFSoC
echo and click enter after Qick101 registers with the nameserver.
echo ============================================================
echo.
pause
REM Start worker
start "" "C:\Program Files\Git\git-bash.exe" -c "cd '%~dp0' && pixi run python -u -m job_server.worker; read -p 'Press Enter to close...'"
echo All services started in separate windows.