Skip to content

Heroku

February 5, 2011

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

Advertisements
No comments yet

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

%d bloggers like this: