practicalli / clojure-web-services

Develop production grade server-side web services and APIs using Clojure and REPL driven development
https://practical.li/clojure-web-services
Creative Commons Attribution Share Alike 4.0 International
11 stars 14 forks source link

Video: Heroku db access #68

Open practicalli-johnny opened 3 years ago

practicalli-johnny commented 3 years ago

Create environment variables for staging and production database on development computer

Use Heroku CLI to get the JDBC_DATABASE_URL details in the correct form

heroku run echo \$JDBC_DATABASE_URL --app banking-on-clojure-staging

heroku run echo \$JDBC_DATABASE_URL --app banking-on-clojure

Recycling the credentials (Heroku Dashboard?)

Accessing Heroku Postgres from Clojure app.