| 1 | @echo off |
| 2 | setlocal |
| 3 | cd /d "%~dp0.." |
| 4 | |
| 5 | where uv >nul 2>nul |
| 6 | if errorlevel 1 ( |
| 7 | echo [Echo Server] uv was not found. Install uv and reopen Command Prompt. |
| 8 | exit /b 1 |
| 9 | ) |
| 10 | |
| 11 | if not exist "configs\server.consumer.yaml" ( |
| 12 | echo [Echo Server] Missing configs\server.consumer.yaml |
| 13 | exit /b 1 |
| 14 | ) |
| 15 | |
| 16 | echo [Echo Server] Starting on the configured host and port... |
| 17 | uv run python server.py --config configs/server.consumer.yaml %* |
| 18 |