Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 60 lines (43 sloc) 2 KB
#!/usr/bin/env zsh
echo "Checking for SSH key, generating one if it doesn't exist ..."
[[ -f ~/.ssh/ ]] || ssh-keygen -t rsa
echo "Copying public key to clipboard. Paste it into your Github account ..."
[[ -f ~/.ssh/ ]] && cat ~/.ssh/ | pbcopy
echo "Installing RVM (Ruby Version Manager) ..."
curl -L | bash -s stable --ruby
echo "
[[ -s '/Users/`whoami`/.rvm/scripts/rvm' ]] && source '/Users/`whoami`/.rvm/scripts/rvm'" >> ~/.zshrc
source ~/.zshrc
zsh < <(curl -s
echo "Installing Homebrew, a good OS X package manager ..."
ruby <(curl -fsS
brew update
echo "Put Homebrew location earlier in PATH ..."
echo "
# recommended by brew doctor
export PATH='/usr/local/bin:$PATH'" >> ~/.zshrc
source ~/.zshrc
echo "Installing MySQL, the most popular RDBMS ..."
brew install mysql
echo "Installing Postgres, a good open source relational database ..."
brew install postgres --no-python
echo "Installing MongoDB, a very good NoSQL DBMS ..."
brew install mongodb
echo "Installing ack, a good way to search through files ..."
brew install ack
echo "Installing tmux, a good way to save project state and switch between projects ..."
brew install tmux
echo "Installing reattach-to-user-namespace, for copy-paste and RubyMotion compatibility with tmux ..."
brew install reattach-to-user-namespace
echo "Installing ImageMagick, good for cropping and re-sizing images ..."
brew install imagemagick
echo "Installing QT, used by Capybara Webkit for headless Javascript integration testing ..."
brew install qt
zsh < <(curl -s
echo -n "Your git name: "
git config --global
echo -n "Your git email: "
git config --global
echo "Change these with \ngit config --global \"Your Name\" \ngit config --global"
Something went wrong with that request. Please try again.