Heroku

[ 1 ] Comment
Share

Hai friends,

is an online Rack (and by extension, Ruby on Rails) cloud PaaS (Platform as a Service) run by the San Francisco, California based company with the same name. As one of the very first cloud platform as a service providers, Heroku has been in development since June 2007 and the company reports over 119,000 applications running on its service.

Website: http://heroku.com

First we have to install “heroku’ in our machine, using the following command.


$ sudo gem install heroku

Then, we have to create a heroku account here.

Now we have  to upload our machine ssh key to Heroku, to push your work.

$ heroku keys:add

At the first time, you have give your heroku mail-id and password.

Now to create a remote application at Heroku, type this from the master branch of our rails project directory.


$ heroku create
Heroku will create a website for us, whose url will be given in the output, which will look like this, 

Created http://stark-evening-40.heroku.com/
If you don’t like this format url address, you can change the url address by using this command,

$ heroku rename thasu
Now, that url looks like http://thasu.heroku.com/

Copy this url and paste it in your browser. And you’ll see the default application created by Heroku running. 

Now to push your work on to the Heroku,


$  push heroku master

That’s all !!!

Related posts:

One Response to Heroku

  1. Nurul Imam says:

    Succes installing heroku but have installing rails on ruby 1.82 or install ruby 1.9.2 with RPM (GCC Not Installed).

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Upload Files

You can include images or files in your comment by selecting them below. Once you select a file, it will be uploaded and a link to it added to your comment. You can upload as many images or files as you like and they will all be added to your comment.