Shift mode: shared kit (python/ollama/models per-machine) + kit-based starters, transfer script

This commit is contained in:
Sadmin committed 2026-11-05 10:21:08 +03:00
1 parent a0ce421a7f
commit 99fe13020b
5 files changed
+74 -4

No files matched your search

+4 -3
View File
@@ -1,13 +1,14 @@
@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)
REM docchecker service + browser page: 127.0.0.1:8011 (works for ANY user via shared kit)
cd /d %~dp0
set "SRV=%~dp0"
if not exist "%SRV%static" set "SRV=%~dp0.."
cd /d "%SRV%"
set "KIT=%~dp0..\..\kit"
set "PYTHONPATH=%KIT%\site"
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
start "docchecker" "%KIT%\Python312\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