Just some additional notes because this took some time to make it work after pushing to master.
I got the error message Invalid DATABASE_URL when running rake db:migrate on Heroku.
When adding the new Heroku app via the web, you will have to set all configuration manually again via heroku config:set. Also, to fix the Invalid DATABASE_URL, you will have to run heroku addons:add heroku-postgresql to add a database to the app.
I also needed to manually set the DATABASE_URL for the Heroku config.
Just some additional notes because this took some time to make it work after pushing to master. I got the error message
Invalid DATABASE_URL
when runningrake db:migrate
on Heroku.When adding the new Heroku app via the web, you will have to set all configuration manually again via
heroku config:set
. Also, to fix theInvalid DATABASE_URL
, you will have to runheroku addons:add heroku-postgresql
to add a database to the app. I also needed to manually set theDATABASE_URL
for the Heroku config.