-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.bat
More file actions
34 lines (28 loc) · 759 Bytes
/
Copy pathstart.bat
File metadata and controls
34 lines (28 loc) · 759 Bytes
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
29
30
31
32
33
34
@echo off
chcp 65001 > nul
title CodeEx Agent - MCP Test Server
echo ============================================
echo CodeEx Agent - ReAct + MCP Test
echo ============================================
echo.
REM Check if .venv exists
if not exist ".venv" (
echo [ERROR] Virtual environment not found!
echo Please run: uv sync
pause
exit /b 1
)
echo [INFO] Starting server...
echo.
REM Read PORT from .env if exists
set PORT=8080
if exist ".env" (
for /f "tokens=1,2 delims==" %%a in ('findstr /r "^PORT=" .env') do set PORT=%%b
)
echo [INFO] Server will start on http://localhost:%PORT%/
echo.
echo Press Ctrl+C to stop the server
echo ============================================
echo.
REM Start the server
uv run python web_ui.py