Made ESV directory structure consistent with NKJV

- **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!
This commit is contained in:
Ryderjj89
2025-09-28 18:26:05 -04:00
parent 8dcf1ed1fa
commit 8236a25ae7
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ COPY --from=frontend-build /app/frontend/build ./frontend/build
COPY docker-compose.yml ./ COPY docker-compose.yml ./
# Copy ESV Bible data from repository # Copy ESV Bible data from repository
COPY ESV /app/bible-data COPY ESV /app/ESV
# Copy NKJV Bible data from repository # Copy NKJV Bible data from repository
COPY NKJV /app/NKJV COPY NKJV /app/NKJV

View File

@@ -36,7 +36,7 @@ app.use(express.static(path.join(__dirname, '../../frontend/build')));
app.use('/logos', express.static(path.join(__dirname, '../../frontend/logos'))); app.use('/logos', express.static(path.join(__dirname, '../../frontend/logos')));
// Bible data directories // 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 const NKJV_DATA_DIR = path.join(__dirname, '../../NKJV'); // NKJV local files
// Initialize search engines for each version // Initialize search engines for each version