Skip to content
Gary edited this page Mar 30, 2015 · 6 revisions

Max OS version: 10.10 (Yosemite)

Step 1. Install Command line tools

open terminal

xcode-select --install

Step 2. Install Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

After install homebrew, run command below to check your environments:

brew doctor

Step 3. Install oh my zsh

curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh

Step 4. Install Rbenv

touch .gemrc | echo "gem: --no-ri --no-rdoc" >> .gemrc
brew update
brew install rbenv ruby-build
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
rbenv install 2.2.1
rbenv global 2.2.1
rbenv rehash
gem install bundler
rbenv rehash

Step 5. Install git

brew install git
git config --global color.ui true
git config --global user.name "YOUR NAME"
git config --global user.email "[email protected]"
ssh-keygen -t rsa -C "[email protected]"

Establish ssh connection:

https://help.github.com/articles/generating-ssh-keys

Step 6. Install Postgres

brew install postgres
# To have launchd start postgresql at login:
ln -sfv /usr/local/opt/postgresql/*plist ~/Library/LaunchAgents

# Then to load postgresql now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist

Step 7. Install ImageMagick

brew install imagemagick

Step 8. Install Git-Flow

brew install git-flow
  • git-flow for Linux: Link

  • git-flow for Windows: Link

Set git flow:

Step 9. Install pow & powder

curl get.pow.cx | sh
gem install powder