BiteKollektiv / webcal

Anonymous web calendars as a service
GNU General Public License v3.0
2 stars 1 forks source link

Setup a new heroku project for the production branch #42

Closed phansch closed 10 years ago

phansch commented 10 years ago

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.