Rails Application on Heroku


Requirements:
1. Heroku Account (http://heroku.com/)
2, Github Account (http://github.com/)
3. Heroku Gem (gem install heroku)
4. msysgit
5. Latest version of Git

Steps:
Step 1: Download msysgit and run it. Once the installation is finished. Create your SSH Public key (if it has not created before.)
Steps on creating SSH keys can be found here:
Step 2: Once you’re done with SSH keys, Login into your Github Account and go to Account Settings -> SSH Public Keys. Copy your id_rsa.pub key and paste it there.
Step 3: Install latest version of Git, and make sure you have “checked“- access GIT via Command Line.
Step 4: Install heroku gem
Step 5.a: If you’re committing your application for the first time in GIT, do these steps:
5.a.1 git init
5.a.2 git add
5.a.3 git commit -m “my new app”
5.a.4 heroku create
5.a.5 git push heroku master

During these steps, heroku will ask for your credentials. Give your username and password when asked. Once you’re done with all these steps, you can check “My Apps” under your Heroku Account. There you’ll find a link to access your application.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s