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..."
|
||||
|
||||
Reference in new issue
Block a user