Files
inquiry_robot/deploy/Start-YtdTestScaffold.ps1
T

16 lines
875 B
PowerShell
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 友通达询价智能体 · 测试骨架启动脚本(占位)
# 职责:在开发机或 C:\ytd-test 起五个空壳进程做健康检查。
# 禁止:改现网 C:\yutongda 指针、改 Nginx 回调、连接真实 AIBOT Bot。
# 用法:在仓库根目录执行 .\deploy\Start-YtdTestScaffold.ps1
$ErrorActionPreference = "Stop"
$RepoRoot = Split-Path -Parent $PSScriptRoot
Write-Host "仓库根: $RepoRoot"
Write-Host "请分别启动(详见根 README):"
Write-Host " 1) ledger -> LEDGER_PORT=8180"
Write-Host " 2) agent HTTP -> AGENT_HTTP_PORT=8910"
Write-Host " 3) agent Worker(无对外端口)"
Write-Host " 4) aibot-bridge -> AIBOT_BRIDGE_PORT=8913 且仅 127.0.0.1"
Write-Host " 5) admin Vite 开发服(生产用静态构建,勿开 3100 进正式 Nginx)"
Write-Host "冒烟: curl http://127.0.0.1:8180/health ; 8910/health ; 8913/health"