-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Milestone
Description
This is a:
- bug
- enhancement
- feature-discussion
Enhancement
Description
Currently, we have a several environment variables in a .env file in the project. These variables mainly drive our database configuration. However, Heroku will inject its own "config vars" into the environment. By having these in two separate places (specifically the URLs for pulling the data from the Board of Elections), we increase the probability that folks will update the values in one place and not the other.
Implementation
Several options off the top of my head:
- Use
dotenveverywhere - Move values into
src/config.js - Hard-code values into the appropriate places in the database configuration.
Metadata
Metadata
Assignees
Labels
No labels