mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
7b2bd307f1
- backend/: 13 Maven modules (cw-elevator-application, cloudwalk-cloud, intelligent-cwoscomponent, ninca-crk, etc.) - frontend/: 4 Vue projects (elevator-front, cwos-portal, alarm-front, front_acs) + decompiled + scripts - scripts/: build, test-env, tools (Docker Compose, service templates, API parity) - docs/: AGENTS.md, superpowers specs, architecture docs - .gitignore: standard Java/Maven exclusions Moved from legacy maven-*/ root layout to backend/ organized structure.
32 lines
1.7 KiB
Plaintext
32 lines
1.7 KiB
Plaintext
发布包目录(源码内):
|
||
docs/testing/release-visitor-noauth-verify-v20260430
|
||
|
||
一、测试执行(单行,与 README「4」一致;在解压后的发布包根目录执行,须有子目录 python/)
|
||
|
||
python3 -m pip install -q -r python/requirements-min.txt && python3 python/quick_verify_visitor_floor_policy.py --mode noauth-probe --org-base-url "http://10.0.22.207:8089" --elevator-base-url "http://10.0.22.207:16112" --use-preset-cases --visitor-person-ids "$(python3 -c 'print(",".join(str(9199000100000000000+i) for i in range(1,26)))')" --probe-with-businessid --batch-output-summary "batch-preset-static-$(date +%Y%m%d-%H%M%S).json"
|
||
|
||
二、一键打包(在仓库根「源码」目录执行,排除本地 report 里的 JSON 痕迹与 __pycache__)
|
||
|
||
STAMP=$(date +%Y%m%d-%H%M%S)
|
||
OUT="docs/testing/release-visitor-noauth-verify-v20260430-prod-${STAMP}.zip"
|
||
zip -r "$OUT" docs/testing/release-visitor-noauth-verify-v20260430 \
|
||
-x 'docs/testing/release-visitor-noauth-verify-v20260430/report/*.json' \
|
||
-x '*.pyc' -x '*__pycache__*' -x '*.pyo'
|
||
unzip -l "$OUT" | tail -5
|
||
echo "written: $OUT"
|
||
|
||
三、解压到测试机后的目录示例
|
||
|
||
mkdir -p ~/visitor-noauth-verify && cd ~/visitor-noauth-verify
|
||
unzip -q release-visitor-noauth-verify-v20260430-prod-*.zip
|
||
cd docs/testing/release-visitor-noauth-verify-v20260430
|
||
(在此目录执行上文「一行命令」)
|
||
|
||
四、打包前自检
|
||
|
||
1) python/quick_verify_visitor_floor_policy.py、requirements*.txt 存在
|
||
2) sql/、README.md 与交付地址/访客号段约定一致
|
||
3) MANIFEST.txt 与目录一致
|
||
|
||
五、选配:连 MySQL 等参数由运维另表提供,不写死于此文件;勿用开发与目标不一致的库串联 HTTP。
|