I’m working my way through Agile Web Development with Rails, 4th edition by Sam Ruby.
I just finished up with Chapter 6: Creating the Application. It’s working fine on my machine, but I wanted to push it to Heroku. Here’s how I did it:
echo "gem 'heroku'" >> Gemfile bundle install git init git add . git commit -m 'Initial commit' heroku create git push heroku master heroku rake db:migrate heroku rake db:seed heroku open
I then added a /products on the Heroku URL that came up and my Depot application is now running on Heroku.