Skip to content

Instantly share code, notes, and snippets.

@benleivian
Last active April 8, 2016 22:15
Show Gist options
  • Save benleivian/2fae5247cffd80c1267c to your computer and use it in GitHub Desktop.
Save benleivian/2fae5247cffd80c1267c to your computer and use it in GitHub Desktop.
Macbook Setup

Macbook Setup

Generate Key

$ ssh-keygen -t rsa -b 4096

ZSH

$ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Composer

$ curl -sS https://getcomposer.org/installer | php

Homebrew

  • Install.
  • Run $ brew doctor and fix any permission errors.

Node

$ brew install node

Vagrant

iTerm

Lightpaper

Sublime Text

  • Sync sublime text settings.

Homestead Setup

Generate Key

$ ssh-keygen

Add ssh-agent to zsh plugins

$ .vim ~/.zshrc
plugins=(git ssh-agent)
export SSH_KEY_PATH="~/.ssh/id_rsa"

Add SSH config for bitbucket

Host bitbucket.org
 IdentityFile ~/.ssh/id_rsa

Confirm

$ ssh-add -l
$ ssh -T [email protected]

Git Config

$ git config --global color.ui true
$ git config --global user.email [email protected]
$ git config --global user.name Ben Leivian

Update NPM (2.11.3)

$ sudo npm install npm -g

Ruby

$ sudo apt-get install ruby

Sass

$ gem install sass

Import Databases:

$ mysql -u homestead -p < Sites/db.sql

Drush

$ composer global require drush/drush:7.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment