docs(deploy): add instructions and automatic handling for untracked haiperdohp-jemaytreeah .gitignore files (config.js, db.json, db_lite.json) and verify all 28 HTTP routes (v1.2.0)
This commit is contained in:
1 parent
360bf63e46
commit
fff554e304
3 files changed
+19
-5
No files matched your search
@@ -65,10 +65,16 @@ if [[ "${TARGET_REPO}" != "--no-pull" ]]; then
|
||||
done
|
||||
fi
|
||||
|
||||
# Ensure db_lite.json and db.json exist inside haiperdohp-jemaytreeah (generated from db.txt if absent on fresh clone)
|
||||
if [[ -d "${REPOS_ROOT}/haiperdohp-jemaytreeah" ]] && [[ ! -f "${REPOS_ROOT}/haiperdohp-jemaytreeah/db_lite.json" ]] && [[ -f "${REPOS_ROOT}/haiperdohp-jemaytreeah/tools/generate_db_json.py" ]]; then
|
||||
echo "[build] Generating haiperdohp-jemaytreeah/db_lite.json and db.json from db.txt..."
|
||||
(cd "${REPOS_ROOT}/haiperdohp-jemaytreeah" && "${PYTHON_BIN}" tools/generate_db_json.py >/dev/null)
|
||||
# Supply untracked files listed in haiperdohp-jemaytreeah/.gitignore (config.js, db.json, db_lite.json)
|
||||
if [[ -d "${REPOS_ROOT}/haiperdohp-jemaytreeah" ]]; then
|
||||
if [[ ! -f "${REPOS_ROOT}/haiperdohp-jemaytreeah/config.js" ]] && [[ -f "${REPOS_ROOT}/haiperdohp-jemaytreeah/config.default.js" ]]; then
|
||||
echo "[build] Copying haiperdohp-jemaytreeah/config.default.js -> config.js..."
|
||||
cp "${REPOS_ROOT}/haiperdohp-jemaytreeah/config.default.js" "${REPOS_ROOT}/haiperdohp-jemaytreeah/config.js"
|
||||
fi
|
||||
if [[ ! -f "${REPOS_ROOT}/haiperdohp-jemaytreeah/db_lite.json" || ! -f "${REPOS_ROOT}/haiperdohp-jemaytreeah/db.json" ]] && [[ -f "${REPOS_ROOT}/haiperdohp-jemaytreeah/tools/generate_db_json.py" ]]; then
|
||||
echo "[build] Generating haiperdohp-jemaytreeah/db.json and db_lite.json from db.txt..."
|
||||
(cd "${REPOS_ROOT}/haiperdohp-jemaytreeah" && "${PYTHON_BIN}" tools/generate_db_json.py db.txt db.json)
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "[2/4] Running hs-doctor and 6-Gate Knowledge Graph Verification..."
|
||||
|
||||
@@ -36,7 +36,7 @@ if [[ -z "${TARGET_BASE_URL}" ]]; then
|
||||
TARGET_BASE_URL="http://127.0.0.1:${PORT}"
|
||||
fi
|
||||
|
||||
echo "[3/3] Verifying all 26 portal homepage, graph, encyclopedia, sibling-PDF, haiperdohp-jemaytreeah calculator, CI & schema routes against ${TARGET_BASE_URL}..."
|
||||
echo "[3/3] Verifying all 28 portal homepage, graph, encyclopedia, sibling-PDF, haiperdohp-jemaytreeah (.gitignore artifacts), CI & schema routes against ${TARGET_BASE_URL}..."
|
||||
ROUTES=(
|
||||
"/"
|
||||
"/graph/index.html"
|
||||
@@ -58,9 +58,11 @@ ROUTES=(
|
||||
"/zoology/m7-emergent-subclass-bidirectional-aq-nucleation.pdf"
|
||||
"/archive/00-index-and-methodology.md"
|
||||
"/calc/index.html"
|
||||
"/calc/config.js"
|
||||
"/calc/calc/ciphers.js"
|
||||
"/calc/calc/database.js"
|
||||
"/calc/db_lite.json"
|
||||
"/calc/db.json"
|
||||
"/ci/ONBOARDING-INGGLISH-AQ.pdf"
|
||||
"/ci/ci-audit-report.json"
|
||||
"/schemas/v1/encyclopedia-graph.schema.json"
|
||||
|
||||
Reference in new issue
Block a user