Ask HN: How can I learn to deploy Rails apps?
Every time I look at deploying Rails apps, I end up looking at tools like Capistrano or Rubber [2] but get lost in a mass of conflicting tutorials, jargon and confusion that might give me a very basic setup but doesn't give me much idea of where to go next [3].
For instance, many guides explain how to run a Rails app on Apache and Passenger with Postgres, but give no pointers on where to go next for adding a Resque worker or running post-deploy commands for stuff like whenever.
Does HN know of any resources that will help me to get a good grounding in deploying my Rails apps on Unix on the kind of stack I've specified, probably running on EC2 or Digital Ocean? Ideally, they'd start from the beginning to get a basic setup, and would then look at using more complex additions.
[1] https://github.com/javan/whenever [2] https://github.com/rubber/rubber [3] A good example is http://robmclarty.com/blog/how-to-deploy-a-rails-4-app-with-git-and-capistrano - a strong tutorial, but without enough background information or next steps kind of stuff.
2 comments
[ 3.8 ms ] story [ 17.1 ms ] threadHowever "whenever" for example has its own capistrano task to deal with deployments, as do a lot of other tools. (delayed_job or resque for example) If you are talking about installing the whole stack then you need to look a something like chef, puppet or ansible.
I know chef and puppet, but I'm currently learning use ansible to do rails deploy, if you want to pair program on some setup script for Rails4 on digital ocean or ec2, let me know.
Email in profile