docs: 补充公网部署确认清单
This commit is contained in:
@@ -22,3 +22,18 @@ def test_user_guide_covers_startup_acceptance_exports_and_troubleshooting():
|
||||
"data/corrupt-backups",
|
||||
]:
|
||||
assert required in content
|
||||
|
||||
|
||||
def test_deployment_doc_requires_public_access_decisions_before_going_online():
|
||||
content = (ROOT / "docs" / "Deployment.md").read_text(encoding="utf-8")
|
||||
|
||||
for required in [
|
||||
"上线前必须确认",
|
||||
"部署方式",
|
||||
"访问密码",
|
||||
"真实 TikHub 和 AI Key",
|
||||
"未经确认不要直接开放公网",
|
||||
]:
|
||||
assert required in content
|
||||
|
||||
assert "第一版公网演示使用云服务器 + Docker Compose,不增加登录或密码" not in content
|
||||
|
||||
Reference in New Issue
Block a user