Config is a basic checklist I follow to set up a new Mac's development environment. It gets me up to speed with Git, Ruby, GitHub, Jekyll, and more so I can more quickly get back to coding.
File | Description |
---|---|
.bash-profile |
Customizes the Terminal.app prompt and echoes the currently checked out Git branch. |
.gitconfig |
Global Git configuration to specify my name and email, shortcuts, colors, and more. |
.gitignore |
The ignore file from twbs/bootstrap that I use everywhere. |
- Download and install latest version of Xcode from the Mac App Store.
- Download and install Xcode Command Line Tools from https://developer.apple.com/downloads/
xcode-select --install
.
- Load
.bash_profile
- Load
.gitconfig
contents into the global~/.gitconfig
- Load up the Ocean theme from https://github.com/mdo/ocean-terminal
- Generate new SSH key
- Generate an access token for Terminal to auth your GitHub account when 2FA is enabled.
- Install Homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install node via Homebrew:
brew install node
.
- Install rbenv via Homebrew:
brew install rbenv
. - Download a version of Ruby via rbenv (e.g.,
rbenv install 2.2.3
). See https://gorails.com/setup/osx/10.11-el-capitan. - Make it the global version of Ruby:
rbenv global 2.2.3
. - Install Sass, Jekyll, and Rouge:
gem install sass jekyll rouge
.
- Enable
atom
Terminal commands: from Atom.app, open the Atom menu and select Install Shell Commands - Install favorite packages
Fork this repo, or just copy-paste things you need, and make it your own. Please be sure to change your .gitconfig
name and email address though!
Yup, it does. Hopefully it does on yours as well, but please don't hate me if it doesn't.
<3