diff --git a/README.md b/README.md index bf34562..429e6a9 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,12 @@ git clone https://git.libre.audio/seasharp/hyperstitionstudio-core.git git clone https://git.libre.audio/seasharp/ingglish-hyperdope-gematria.git git clone https://git.libre.audio/seasharp/technocapital-singularity-zoology.git git clone https://git.libre.audio/seasharp/encyclopedia-knowledge-graph.git +git clone https://git.libre.audio/seasharp/haiperdohp-jemaytreeah.git +git clone -b feat/ingglish-aq-corpus https://git.libre.audio/seasharp/ingglish-hyperdope-ci.git + +# 2b. Supply the 3 untracked runtime files listed in haiperdohp-jemaytreeah/.gitignore (config.js, db.json, db_lite.json) +cp haiperdohp-jemaytreeah/config.default.js haiperdohp-jemaytreeah/config.js +(cd haiperdohp-jemaytreeah && python3 tools/generate_db_json.py db.txt db.json) # 3. Create & activate a local Python virtual environment and install dependencies python3 -m venv .venv diff --git a/deploy/sync-vps-repos.sh b/deploy/sync-vps-repos.sh index 7abab31..598197b 100755 --- a/deploy/sync-vps-repos.sh +++ b/deploy/sync-vps-repos.sh @@ -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..." diff --git a/deploy/test-first-deployment.sh b/deploy/test-first-deployment.sh index a3531cd..6bb8ee5 100755 --- a/deploy/test-first-deployment.sh +++ b/deploy/test-first-deployment.sh @@ -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"