NAPOSCA / pantryplus

A curbside service for food pantries
http://pantryplus.herokuapp.com
Apache License 2.0
2 stars 0 forks source link

Persist me baby! #154

Closed alexjamesmalcolm closed 6 years ago

alexjamesmalcolm commented 6 years ago

This is the persistent Postgres database that we were talking about last time we met up.

This branch uses the config var provided by Heroku called JDBC_DATABASE_URL. This is the url for our production database. The URL is a combination of host, username, password, and port. The username and password are changed a few times a year so I used the Heroku's auto-updating config var instead of hardcoding the database URL. This also works to our advantage that we can change the value of the env var through Gradle in tests and leave it unchanged in production.

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 743


Totals Coverage Status
Change from base Build 740: 0.0%
Covered Lines: 394
Relevant Lines: 481

💛 - Coveralls