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.
It also includes a lightweight list of the applications I depend on to survive a day of computer use.
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 git ignore file I use. |
.gitexcludes |
Quick fix to always ignore DS_Store |
.powconfig |
My pow configuration file. |
Load up the Ocean theme from https://github.com/jonathansimmons/ocean-terminal
Set default monospace font to Source Code Pro
Install homebrew
Clone https://github.com/jonathansimmons/config
.bash_profile
$ cd ~
$ ln -s <path/to/config/repo/.bash_profile>
.gitconfig
$ cd ~
$ ln -s <path/to/config/repo/.gitconfig>
.gitignore
$ cd ~
$ ln -s <path/to/config/repo/.gitignore>
.gitignore
$ cd ~
$ ln -s <path/to/config/repo/.gitexcludes>
.powconfig
$ cd ~
$ ln -s <path/to/config/repo/.powconfig>
Install git-completion
Generate an access token for Terminal to auth your GitHub account when 2FA is enabled.
brew install rbenv
.rbenv install 2.2.3
). See https://gorails.com/setup/osx/10.11-el-capitan.rbenv global 2.2.3
.Installing and managing Ruby with rbenv allows us to specify versions of Ruby on a per-project basis. It also means we can avoid running sudo commands for installing gems and more as it's not affecting OS X's system Ruby.
The following is a list of apps lightly categorized that that I've found useful over the last 10 years using a mac.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
)brew install mysql
brew install postgres