10 Jul '12, 9am

Giles Bowkett: Heroku-Style Deployment On EC2:

Everybody loves the way you can just git push origin master in a Heroku project and see your changes live on the web right away. If you're on EC2, Slicehost, or any other non-Heroku environment, it's exceptionally easy to hack that functionality into your own project. This is literally all the necessary code: You set this running, make sure port 54321 (or whatever) is open, and configure your GitHub post-receive web hook . GitHub will POST a big JSON update to the hook every time you push to any GitHub branch, but all your Sinatra app needs to do is check that JSON for "/refs/heads/master" , as in the gist, to differentiate master from any other branch. This assumes a very simple app with no need to restart any app servers or what have you, but any additional config or setup you might need to do can quite happily live in the backticks as a shell script.

Full article: http://gilesbowkett.blogspot.com/2012/06/heroku-style-dep...

Tweets

Need a custom binary for use on Heroku? You're ...

ryandaigle.com 10 Jul '12, 3pm

Twelve-factor apps also do not rely on the implicit existence of any system tools… While these tools may exist on many or ...

Deployment with Unicorn

rubyflow.ru 05 Jul '12, 10am

Deployment with UnicornMikhailov Anatoly Мы долгое время были на Passenger+Nginx, но начали искать альтернативы после таки...

#347 Rubber and Amazon EC2 - RailsCasts:

railscasts.com 04 Jul '12, 11pm

rails new blog -d postgresql cd blog rails g scaffold article name content:text gem install rubber rubber -h rbenv rehash ...