codeforgso / GoVote

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

Change environment variables to use a Database URL #167

Closed tcaddy closed 4 years ago

tcaddy commented 4 years ago

Heroku gives us a single environment variable called DATABASE_URL instead of a handful of environment variables for db user/pass/name/host/etc

It is in this format: postgres://{user}:{password}@{hostname}:{port}/{database-name}