Problem
.env.example documents 18 of the 19 env vars the codebase consumes. The missing one is NODE_ENV, despite app/config/env.js reading it to gate the empty-DB_PASSWORD hard-fail in production:
if (process.env.NODE_ENV === 'production') {
console.error('[env] DB_PASSWORD is empty and NODE_ENV=production. Refusing to start. ...');
process.exit(1);
}
The README env table was updated in #176 to include NODE_ENV, but .env.example (cited in its own header as "the canonical reference") was missed.
Fix
Add a NODE_ENV row to .env.example with the same production-mode semantics the README and code already describe.
Proudly Made in Nebraska. Go Big Red! 🌽 https://xkcd.com/2347/
Problem
.env.exampledocuments 18 of the 19 env vars the codebase consumes. The missing one isNODE_ENV, despiteapp/config/env.jsreading it to gate the empty-DB_PASSWORD hard-fail in production:The README env table was updated in #176 to include NODE_ENV, but
.env.example(cited in its own header as "the canonical reference") was missed.Fix
Add a NODE_ENV row to
.env.examplewith the same production-mode semantics the README and code already describe.Proudly Made in Nebraska. Go Big Red! 🌽 https://xkcd.com/2347/