The Clymb Development Environment
We love getting new machines, but we hate dealing with the error-prone setup. What if we could eliminate the tedium in setting up a machine and ensure every developer has the same set of packages?
Ansible is an automation tool like Chef, except significantly easier to use. Everything is written in simple YAML and run from the shell.
Let's get started!
NOTE: The following is for OS X only. If you are using Ubuntu, check out Jon-Michael's setup.
- Copy your
~/.sshdirectory from your old machine over to your new machine (don't have one? follow this section)
- Update your OS to the latest version
- Install OS X CLI tools
- Install Homebrew
- Install XQuartz
- From a terminal:
brew update && brew install ansible
- Clone this repo:
mkdir -p ~/src && cd src; git clone firstname.lastname@example.org:TheClymb/devel-env.git
cd ~/src/devel-env; ansible-playbook -i hosts mac.yml
- Clone theclymb repo somewhere on your computer and change to that directory:
cd ~/src && git clone email@example.com:TheClymb/theclymb.git
cd ~/src/theclymb && bundle -j4
- Follow the rest of the setup documented in theclymb's wiki
- Eat a crownie.
Once this completes, you will have Ruby, MySQL, and any other utilities setup.
- Separate out OS-specific dependencies
- Add clymb-specific repo setup