Deploy your Rails 3 applications à la Heroku with Inploy

Heroku, Inploy, Rails 3, deployment, rails, rails3 — Tags: , , , , , — dc.rec1 @ 8:52 pm

I’m not a fan of Heroku’s deployment way, but I know that many people is and that many of them don’t know that with Inploy you can deploy your Rails 3 applications in a similar way.

Thomas Ritz contributed with Inploy creating a template called rails3_push. The template modifies Inploy so it creates a repository in the server on setup and pushes to it on every update, being followed by all the tasks that it executes by default on every deploy.

In order to use this template, like any other, you must specify it in the deploy.rb file:

template = :rails3_push
application = "tweerer"
hosts = %w(...)
...

After that, to setup your server and to deploy to it, you can execute respectively the following commands:

inploy setup
inploy

If you appreciate this work, please consider to recommend me at Working With Rails and to follow me on Twitter.

11 Comments »

  1. i dont understand the win of this method vs the heroku push (one line) , Inploy is really great tool, but it dont make sense for heroku deployment IMHO.

    best regards

    Comment by michelsongs — September 2, 2010 @ 10:42 am
  2. @michelsongs

    this template is not for deploying to Heroku, is for deploying to a VPS (for example) in the same way people deploy to Heroku. This means that the user, in order to deploy, can execute:

    git push origin master

    or just

    inploy

    In the last case, the command ‘inploy’ just executes ‘git push origin master’.

    The good thing about the last case is that the process is transparent to the deployer, he don’t need to care about which template is Inploy using.

    Comment by dc.rec1 — September 2, 2010 @ 10:53 am
  3. ah , my apologies, I misunderstood the use of your implementation, now makes sense to me :)

    Regards

    Comment by michelsongs — September 2, 2010 @ 2:37 pm
  4. This template not worked with me, where i can look for help with inploy?

    Comment by Junio Vitorino — December 13, 2010 @ 7:32 am
  5. @juniovitorino

    You can look for help here or in the Issues over Github. Explain what was your problem so me or anybody can help you :)

    Comment by Diego Carrion — December 13, 2010 @ 10:31 am
  6. Thank goodness

    this particular Informative article will be interesting and well-defined. Others I’ve read made me really feel such as I required the degree to decipher them. Thank you.
    ;)

    Comment by Sammy Cheng54 — August 4, 2011 @ 6:37 am
  7. Hello there, just grew to become aware of your site via America online, as well as discovered that itís really informative. I am going to watch out for brussels. Iíll end up being grateful should you carry on this particular later on. Many people is going to be taken advantage of this post.

    Comment by money maker — August 17, 2011 @ 11:36 am
  8. Shiver me timbers…

    Can someone believe it, I got goosebumps from the fine blog story….

    Trackback by http://www.copingmechanisms.org — October 26, 2011 @ 11:28 am
  9. you’ve a terrific blog right here! would you like to make some invite posts on my blog?

    Comment by pinball machine — November 10, 2011 @ 7:09 pm
  10. Great content material and great layout. Your blog deserves every one of the positive feedback it has been getting.

    Comment by Rosemarie Golde — November 10, 2011 @ 7:21 pm
  11. You definitely know how to bring an issue to light and make it important. I cant believe youre not more popular because you definitely have the gift.

    Comment by power washing lancaster — November 10, 2011 @ 7:37 pm

RSS feed for comments on this post. TrackBack URI

Leave a comment

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2013 Diego Carrion | powered by WordPress with Barecity