简体   繁体   English

使用Chef部署Rails应用

[英]Deployed rails app using chef

Is there is any predefined cookbook to deployed rails app using chef. 是否有使用Chef的预定义菜谱来部署Rails应用程序。

I have searched a lot and found a resources: http://www.concreteinteractive.com/how-to-deploy-a-rails-application-anywhere-with-chef/ 我进行了很多搜索,找到了以下资源: http : //www.concreteinteractive.com/how-to-deploy-a-rails-application-anywhere-with-chef/

Is there any good stuff from it or alternatives? 是否有其他好东西? Please share your experiences. 请分享您的经验。

Thanks 谢谢

Try this out. 试试看 The Opscode cookbook page has tons of resources Opscode食谱页面包含大量资源

http://community.opscode.com/cookbooks/rails_application http://community.opscode.com/cookbooks/rails_application

Chef wiki have lot of resources. Chef Wiki有很多资源。 You can check there. 您可以在那里检查。 Try this one https://wiki.opscode.com/display/chef/Build+A+Rails+Stack 试试这个https://wiki.opscode.com/display/chef/Build+A+Rails+Stack

You can download cookbook from Opscode community sites . 您可以从Opscode社区站点下载食谱。 You will get a search and Advance Search option on of basis of category and tags. 您将获得基于类别和标签的搜索和高级搜索选项。 Make sure to check out rating ,no of download, last update and followers. 确保检查出评级,没有下载,最新更新和关注者。

You can use the following to deploy rails app server, http://devbox.co/setup-ruby-on-rails-server-quickly/ and then can use capistrano to deploy the code. 您可以使用以下内容来部署Rails应用程序服务器http://devbox.co/setup-ruby-on-rails-server-quickly/ ,然后可以使用capistrano来部署代码。 There are multiple options like you want passenger or unicorn, mysql or posgresql etc. You can use any combination as both have predefined setup in separate branches. 有多个选项,例如您想要乘客或独角兽,mysql或posgresql等。您可以使用任何组合,因为两者在单独的分支中都有预定义的设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM