docs: 补充本地验收和部署说明

This commit is contained in:
meijiali
2026-07-03 15:33:49 +08:00
parent f8fddf1eb3
commit a8f5eeaff5
3 changed files with 246 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
from pathlib import Path
ROOT = Path(__file__).resolve().parents[2]
def test_user_guide_covers_startup_acceptance_exports_and_troubleshooting():
content = (ROOT / "docs" / "UserGuide.md").read_text(encoding="utf-8")
for required in [
"docker compose up -d --build",
"http://localhost:8000",
"1 × 1 × 10",
"5 × 5 × 50",
"导出文件",
"8000 端口被占用",
"API Key 缺失",
"任务长期 running",
"重置本地数据库",
]:
assert required in content