-
-
Save henrygarner/1123179 to your computer and use it in GitHub Desktop.
Resources for setting up RVM and Passenger on Chef
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.agileweboperations.com/chef-rvm-ruby-enterprise-edition-as-default-ruby | |
http://www.christophersamuelson.com/2010/10/22/chef-rvm-capistrano-bundler/ | |
http://blog.ninjahideout.com/posts/a-guide-to-a-nginx-passenger-and-rvm-server | |
http://brandontilley.com/2011/01/29/serving-rails-apps-with-rvm-nginx-unicorn-and-upstart.html | |
http://brandontilley.com/2011/01/29/rvm-unicorn-and-upstart.html | |
Chef workflow | |
# Install cookbook from opscode community site. (Automatically commits to local repo) | |
knife cookbook site install <COOKBOOK_NAME> | |
after setting up a new cookbook (just create /copy the files into the cookbooks dir) | |
knife cookbook upload <COOKBOOK_NAME> | |
setting up roles - create new json file in /roles using others as template | |
then "knife role from fole <FILENAME> | |
test by creating a new ec2 instance with the appropriate role (or use vagrant) | |
to get rid of an ec2: | |
knife ec2 server delete <ID> | |
knife node delete <ID> | |
and | |
knife client delete <ID> | |
Nginx + Unicorn recipes | |
http://unicorn.bogomips.org/examples/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment