- Install xcode
- Change to zshell
chsh -s /bin/zsh
- Install brew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
- Agree to questions
brew doctor
per suggestion- (brew doctor complained) Install XQuartz
- (brew doctor complained) Move macports
sudo mv /opt/local/ ~/macports
(didn't work. ignoring this step) - (brew doctor complained) Move paths so that brew will execute before system-installed software
echo export PATH='/usr/local/bin:$PATH' >> ~/.zshrc
- Restart terminal
- Install rbenv and ruby-build
brew install rbenv ruby-build
- read the feedback of this, which was
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zshenv
- restart Terminal
- Install ruby
rbenv install 2.1.2
- Install ruby globally too (?)
rbenv global 2.1.2
gem install rails
rbenv rehash
git config --global color.ui true
git config --global user.name "Alex Leeson-Brown"
git config --global user.email "me@alexlb.com"
ssh-keygen -t rsa -C "me@alexlb.com"
- Copy password to clipboard
pbcopy < ~/.ssh/id_rsa.pub
- Paste this into Github's settings https://github.com/settings/ssh
- Verify with Github
ssh -T git@github.com
and enter password if prompted - Install NVM
curl https://raw.githubusercontent.com/creationix/nvm/v0.13.0/install.sh | bash
- Install Node 0.10.29
nvm install v0.10.29
- Use Node
nvm use v0.4.
curl -L http://install.ohmyz.sh | sh
cd ~
git clone git://github.com/creationix/nvm.git ~/nvm
. ~/nvm/nvm.sh
vim .zlogin
then add. ~/nvm/nvm.sh
- make directory
mkdir ~/Documents/Repositories
ssh git@git.wpengine.com info
git remote add staging git@git.wpengine.com:staging/radiusintel.git
-