13 lines
492 B
Batchfile
13 lines
492 B
Batchfile
@echo off
|
|
REM docchecker service + browser page: 127.0.0.1:8011
|
|
REM Service runs with cwd = kit root (where app.py and static/ live)
|
|
cd /d %~dp0
|
|
set "SRV=%~dp0"
|
|
if not exist "%SRV%static" set "SRV=%~dp0.."
|
|
cd /d "%SRV%"
|
|
set LT_URL=http://127.0.0.1:8010
|
|
set LLM_BASE_URL=http://127.0.0.1:11434/v1
|
|
set LLM_MODEL=qwen3-4b-instruct
|
|
start "docchecker" "%~dp0venv\Scripts\python.exe" -m uvicorn app:app --host 127.0.0.1 --port 8011
|
|
timeout /t 5 /nobreak >nul
|
|
start http://127.0.0.1:8011 |