If you,
  • use Windows PC
  • want to develop Ruby on Rails application
  • want to host it on Heroku
  • want to check out source code using Git
there are couple of installations and settings before doing those.

These are as follows:
  • Installing Git Extension
  • Installing Rubygems
  • Installing Heroku gem
  • Createting an SSH key file
  • Adding keys to Heroku
You will probably need more than these, but these are minimums to get the code from the Heroku repository.

Create an SSH key file


After you installed these minimums, you run GitBash and create an SSH key for Heroku use.

$ cd ~/
$ mkdir .ssh
$ cd .ssh
$ ssh-keygen –C “youremai@yourmail.com” –t rsa

Add your keys to heroku

You add this key to Heroku for later check outs and check ins

$ heroku keys:add

Checking out the source code

You check out the code by using clone option of git

$ git clone -o heroku git@heroku.com:yourapp.git
 


Comments




Leave a Reply