blurts-server/docs
Vincent e7261bc8ca Adopt .env.local file
This makes it clearer what variables actually need to be set
locally, and which have been forgotten. It also makes the build
simpler, by removing the need to copy the .env-dist file.

This should be safe to apply, since .env-dist already got loaded by
default, just like .env now is. And it is still the case that
actual environment variables overwrite the ones in the .env file.

For non-Next.js setups (e.g. cron jobs or database migrations), I
switched to dotenv-flow. The regular dotenv explicitly avoids
inheritance [1], because it wants environment variables to be
specific to an environment. That was already not the case with most
of our environment variables, so the switch makes sense for us.

Next steps could be to remove unused variables from .env, and
possibly moving variables with local/stage-specific values to
.env.local.example, though that riskier, since environments might
depend on those being present.

[1]
https://www.npmjs.com/package/dotenv#should-i-have-multiple-env-files
2024-07-09 10:58:25 +02:00
..
adr ci: get rid of circle CI 2024-05-17 10:02:38 -07:00
diagrams MNTOR-924/architecture docs for monitor (#3140) 2023-07-15 19:15:58 -07:00
telemetry MNTOR-3096 - add monitor glean backend (#4544) 2024-06-27 10:37:07 -07:00
CODEOWNERS Update CODEOWNERS (#3239) 2023-07-20 23:50:42 -07:00
CONTRIBUTING.md Relocate CODEOWNERS and CONTRIBUTING.md to /docs 2019-02-27 18:08:43 -06:00
analytics.md Adopt .env.local file 2024-07-09 10:58:25 +02:00
dependency-updates.md Adopt .env.local file 2024-07-09 10:58:25 +02:00
fx-integration.mmd add fx-integration.mmd sequence diagram 2021-12-14 06:41:13 -06:00
fx-integration.png add fx-integration.mmd sequence diagram 2021-12-14 06:41:13 -06:00
monitor-architecture.png add architecture diagram to readme 2022-04-21 20:37:53 -07:00
monitor-emails.md Update ReadMe: legacy cleanup 2023-04-28 14:49:54 -07:00
release-process-future-long-branches.png MNTOR-1548 docs - add release process matching Relay (#3032) 2023-06-09 10:01:40 -07:00
release_process.md ci: get rid of circle CI 2024-05-17 10:02:38 -07:00
test-coverage.md Port settings page to proper React 2024-01-04 16:20:26 +01:00