This repository has been archived by the owner on Apr 23, 2019. It is now read-only.
The Hello World release
This is the first public release of the collection of Chef recipes we use to manage our Ruby on Rails servers at Firmhouse. We've been using these in production for over a few months now so it's time to push out 1.0.0. Yay!
Features
- Prepares an Ubuntu 12.04 LTS server for running a full Rails stack.
- Multiple apps on one server.
- Scaringly simple setup by running only two commands.
- Deploy with Capistrano
- Nginx as web server
- Unicorn with zero-downtime/rolling restarts
- Bluepill for Rails process and memory monitoring
- (Percona) MySQL Server for databases
- Manages and generates your database.yml
Getting Started
Short version:
Download the tarball or clone the repository.
bundle
bundle exec knife solo prepare user@host
Edit nodes/host.json
bundle exec knife solo cook user@host
See the README for an extended guide on getting started.
Troubleshooting and getting help
We've tested with a bunch of VPS vendors and setups ranging from clean Ubuntu installs to pre-configured vendor images and have solved all problems we recognized so far.
If you run into problems, please open a GitHub issue so we can take a look at your situation.