You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 dotenv everywhere
Move values into src/config.js
Hard-code values into the appropriate places in the database configuration.
The text was updated successfully, but these errors were encountered:
This is a:
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:
dotenv
everywheresrc/config.js
The text was updated successfully, but these errors were encountered: