Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (29 sloc) 1.36 KB
#!/usr/bin/env bash
echo "Checking for SSH key, generating one if it doesn't exist ..."
[[ -f ~/.ssh/id_rsa.pub ]] || ssh-keygen -t rsa
echo "Copying public key to clipboard. Paste it into your Unfuddle account ..."
[[ -f ~/.ssh/id_rsa.pub ]] && cat ~/.ssh/id_rsa.pub | pbcopy
echo "Installing Homebrew, a good OS X package manager ..."
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
brew update
echo "Installing MySQL, a good open-source relational database ..."
brew install mysql
echo "Installing Redis, a good key-value database ..."
brew install redis
echo "Installing ack, a good way to search through files ..."
brew install ack
echo "Installing ImageMagick, good for cropping and re-sizing images ..."
brew install imagemagick --disable-openmp
echo "installing GitFlow, for a better Git workflow"
brew install git-flow
echo "Installing QT, for testing with capybara-webkit"
brew install qt
echo "Installing tree, for printing tree structure in acsii format"
brew install tree
echo "Installing RVM (Ruby Version Manager) ..."
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
echo "
# RVM
[[ -s '/Users/`whoami`/.rvm/scripts/rvm' ]] && source '/Users/`whoami`/.rvm/scripts/rvm'" >> ~/.zshrc
source ~/.zshrc
bash < <(curl -s https://raw.github.com/gogobot/laptop/master/ruby)