Deploy your Rails 3 applications à la Heroku with Inploy

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.

17 thoughts on “Deploy your Rails 3 applications à la Heroku with Inploy

  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

  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.

    • Fala Jhonatan, blz?Essa video aula foi demais, sua dide1tica mesmo por ser um hobby e9 peetrifa. Tentei te enviar uma mensagem pelo contato do site, mas ne3o enviou. Acredito que pelo tamanho do texto, por isso resolvi comentar e pedir que entre em contato comigo, tenho um projeto em desenvolvimento e quero conversar com vocea sobre ele. Espero que entre em contato o mais re1pido possivel.Mais uma vez parabe9ns por essa e todas as aulas que tem no site.

    • I really love Your wetbise, I have added it to favourites. I believe that You will keep up with good job, your article was very riveting. I hope you have a nice day! Naklejki scienne, naklejki na sciany

    • I really love Your wesbite, I have added it to favourites. I believe that You will keep up with good job, your article was very riveting. I hope you have a nice day! Naklejki scienne, naklejki na sciany

  3. 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.
    ;)

  4. 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.

    • Ok so I upload image via CKeditor UI. Then plcrepaip get data from CKeditor and process them and save them to S3 or to localholost. So if you would like to upload images from CKeditor to S3 you need another gem (like plcrepaip) to do the upload part. Maybe there is another way how to configure CKeditor but I don’t know about it.I hope that my response make sense to you :)

    • Ben what do you mean by native DBaaS ? Other than Amazon RDS, which is a very smitlispic solution, which IaaS providers offer a native DBaaS? Rackspace doesn’t. And even many PaaS providers don’t offer it, Heroku for one (although they do have multiple 3rd-party offerings).

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> <pre lang="" line="" escaped="">