the-gruntled-company / Gruntled

video-recording browser extension
2 stars 4 forks source link

automatically set database uri #117

Open leepriscilla opened 2 years ago

leepriscilla commented 2 years ago

! The value of your app’s DATABASE_URL config var can change at any time. Do not rely on this value either inside or outside your Heroku app.

leepriscilla commented 2 years ago

https://gist.github.com/e-alizadeh/71c7786f35c8d065567d005aecddfc5d

leepriscilla commented 2 years ago

Set environment variables with: export DATABASE_URL=$(heroku config:get DATABASE_URL -a gruntled-api) export DATABASE_URL_DEV=$(heroku config:get DATABASE_URL -a gruntled-api-dev)