Ruby On Rails Lesson
After signing up for a Heroku account, install the Heroku gem:
As with GitHub (Section 1.3.4), when using Heroku you will need to create SSH keys if you haven’t already, and then tell Heroku your public key so that you can use Git to push the sample application repository up to their servers:
Finally, use the heroku command to create a place on the Heroku servers for the sample app to live (Listing 1.9)
(The --stack cedar argument arranges to use the latest and greatest version of Heroku, called the Celadon Cedar Stack.) Yes, that’s it. The heroku command creates a new subdomain just for our application, available for immediate viewing. There’s nothing there yet, though, so let’s get busy deploying.