Pages

Wednesday, May 4, 2011

Heroku

To create an account an heroku site  http://www.heroku.com
install heroku gem

$ sudo gem install heroku

to add a ssh keys and other details into heroku
$ heroku keys:add #it will automatically fetch our ssh keys at before u install the ssh in our system
$ heroku create #it create a link at random
or u want sepecfic name to type

$ heroku create sample

to upload our git code repositary to heroku account

$ git push heroku master
$ heroku rake db:migrate # this command to upload our database skeleton(schema)
$ heroku open # this command is open our page in browser

No comments:

Post a Comment