문제

I am planning on using Rubber to deploy a Rails app on Amazon EC2. Do I need to install Ruby, Rails, Postgres, Nginx and Unicorn on the EC2 server before running Rubber? Or does Rubber do all of these installations on EC2? Please advise. Thanks.

도움이 되었습니까?

해결책

Rubber is essentially a capistrano plugin to automate deployments to amazon EC2. You don't have to manually install any of these packages. Rubber will install them for you (in the bootstrap phase), all you need to do is find the right recipe (template). You can find the list of recipes from the rubber's github page. https://github.com/rubber/rubber/tree/master/templates For the exact configuration that you mentioned, the following template should work. complete_unicorn_nginx_postgresql

다른 팁

Rubber is a bunch of capistrano recipes, so based in that definition you have to configure your server before use rubber, install Ngnix, ruby, rubygems, Unicorn, etc. But you also can create your custom capistrano rubber recipes in order to configure your server, take a look at this tutorial.

http://viget.com/extend/building-an-environment-from-scratch-with-capistrano-2

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top