codeforgso / GoVote

Local voter registration and election candidate application.
http://govotegso.org/
GNU General Public License v3.0
24 stars 46 forks source link

Audit environment variables #177

Open stevenbuccini opened 4 years ago

stevenbuccini commented 4 years ago

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: