Files
Kevin 6bc6801df9 统一 Docker Compose 部署,并将客户端拆分为独立子项目。
移除宿主机/conda 启动脚本与 dev 联调工具,后端仅通过 docker compose 部署并默认启用 GPU。模拟客户端与语音确认页迁入 clients/ 下自包含目录,切断对后端源码路径的依赖。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-21 15:56:53 +08:00

20 lines
619 B
Batchfile

@echo off
REM 语音确认入口;详见 README.md
REM start.bat [端口] 默认 start_http.bat
REM start.bat --single [端口] 打包 dist 后等价 dist\start_http.bat
REM VOCH_HTTP_BIND=127.0.0.1 可仅监听本机;默认 0.0.0.0 供局域网终端访问
setlocal
cd /d "%~dp0"
if /I "%~1"=="--single" (
shift
set "PORT=%~1"
if "%PORT%"=="" set "PORT=8080"
if "%VOCH_HTTP_BIND%"=="" set "VOCH_HTTP_BIND=0.0.0.0"
python scripts\bundle_single_html.py
call dist\start_http.bat %PORT%
exit /b %ERRORLEVEL%
)
set "PORT=%~1"
if "%PORT%"=="" set "PORT=8080"
call start_http.bat %PORT%