Well I am certainly learning today. I decided to deploy my app that I’m working on, called PhotoFinish, on Heroku today using Unicorn.
Let’s just list some of the things that I forgot.
-
Procfiles are a thing.
-
Bundling is important.
-
If you’re getting a “We’re sorry but something went wrong” message, and you feel like you haven’t done anything wrong, it’s probably because you forgot to migrate your shit. So run: heroku run rake db:migrate, and then try to heroku open again.
-
If your CSS isn’t showing up, you might need this: gem ‘rails_12factor’
I haven’t deployed anything to Heroku in a bit, so some of these things made me feel like this: Just some things to remember for next time, I reckon.