From 8236a25ae7d0c65eeb6569a79a00acfeaa95030e Mon Sep 17 00:00:00 2001 From: Ryderjj89 Date: Sun, 28 Sep 2025 18:26:05 -0400 Subject: [PATCH] Made ESV directory structure consistent with NKJV MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - **Docker ESV copy**: Changed from ESV → /app/bible-data to ESV → /app/ESV - **Backend ESV path**: Updated ESV_DATA_DIR from '../../bible-data' to '../../ESV' - **Consistent naming**: Both ESV and NKJV follow same /app/{VERSION}/ pattern - **Clear mirroring**: Repository ESV/ folder → Container /app/ESV/ - **Improved clarity**: No more bible-data vs ESV directory mismatch Both ESV and NKJV now follow identical directory conventions! --- Dockerfile | 2 +- backend/src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3cde5a4d..904597c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ COPY --from=frontend-build /app/frontend/build ./frontend/build COPY docker-compose.yml ./ # Copy ESV Bible data from repository -COPY ESV /app/bible-data +COPY ESV /app/ESV # Copy NKJV Bible data from repository COPY NKJV /app/NKJV diff --git a/backend/src/index.js b/backend/src/index.js index 47784f69..4fc6d762 100644 --- a/backend/src/index.js +++ b/backend/src/index.js @@ -36,7 +36,7 @@ app.use(express.static(path.join(__dirname, '../../frontend/build'))); app.use('/logos', express.static(path.join(__dirname, '../../frontend/logos'))); // Bible data directories -const ESV_DATA_DIR = path.join(__dirname, '../../bible-data'); // ESV local files +const ESV_DATA_DIR = path.join(__dirname, '../../ESV'); // ESV local files const NKJV_DATA_DIR = path.join(__dirname, '../../NKJV'); // NKJV local files // Initialize search engines for each version