Skip to content

Instantly share code, notes, and snippets.

@storypixel
Last active August 29, 2015 14:05
Show Gist options
  • Save storypixel/aca4a6508de16c4d2fc6 to your computer and use it in GitHub Desktop.
Save storypixel/aca4a6508de16c4d2fc6 to your computer and use it in GitHub Desktop.
How I set up Alex's computer

basic prep

  • Install xcode
  • Change to zshell chsh -s /bin/zsh

install homebrew

  • 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.

Install oh-my-zsh

  • curl -L http://install.ohmyz.sh | sh

Install

  • cd ~
  • git clone git://github.com/creationix/nvm.git ~/nvm
  • . ~/nvm/nvm.sh
  • vim .zlogin then add . ~/nvm/nvm.sh

Project and site related

  • make directory mkdir ~/Documents/Repositories
  • ssh git@git.wpengine.com info
  • git remote add staging git@git.wpengine.com:staging/radiusintel.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment