Pushing Depot to Heroku

Posted by Jason Noble on 10/31/2010 in ruby on rails |

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:

[plain]
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
[/plain]

I then added a /products on the Heroku URL that came up and my Depot application is now running on Heroku.

Tags: , ,

Copyright © 2008-2024 Jason Noble's Technical Adventures All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.