![]() We’ve written a few cookbooks for our Rails apps, but they’re private for various reasons. If you install unicorn via ‘gem install unicorn’, what about the start/stop scripts etc? They’re all available on Rubygems, and hopefully the README helps you out, but feel free to open an issue on the requisite repositories if need be. We use these gems to handle installing rbenv and Ruby: For Unicorn itself, check out sepastian-capistrano3-unicorn. Bear in mind our fork’s master is likely behind the upstream, community cookbook.Īs for the start & stop scripts, we use Capistrano to deploy our apps, and we have a number of nice gems for Cap that handle Unicorn stuff. Here’s the diff master…add_socket_proxy_type on our fork. The socket proxy stuff is over on its own branch: Maintained by a company that just so happens to open source their devops. I know I can build my own (that’s the beauty of chef hehe) but justĬurious if there any any cookbooks that are rails/ruby specific that are Maintained by a web 3.0 company out there?įor some reason I see most people are still stuck with apache. Is there a rails,nginx, unicorn cookbook out there in chef land that is Your apps determine the specific versions of things you need (e.g., Ruby Initialĭeployment is a bit slow, but after that, you’ve got the flexibility to let Then use Bundler to install all the necessary gems for the app. ![]() The pattern we follow is to set up the server with nginx properlyĬonfigured, then let the apps’ deployments install rbenv, Ruby, & Bundler, However, the community nginx cookbook is pretty good:Īnd you can check out our fork of it that adds some socket proxy goodness Server Software: Server Hostname: 178.63. ![]() When hosted with APACHE and tested with APACHE benchmark tool i got the following output. ![]() Finally i deployed one product based web site to test this and tried to find out which the fastest web server i can use. We’ve written a few cookbooks for our Rails apps, but they’re private for Use APACHE + PASSANGER as easy deployment tool.and some web pages says that use THIN server. If you install unicorn via ‘gem install unicorn’, what about the start/stop WHere exactly is that socket proxy goodness? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |