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. |
- 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/.
- 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
- Create a symlink to your
.bash_profile
$ cd ~ $ ln -s <path/to/config/repo/.bash_profile>
- Create a symlink to your
.gitconfig
$ cd ~ $ ln -s <path/to/config/repo/.gitconfig>
- Create a symlink to your
.gitignore
$ cd ~ $ ln -s <path/to/config/repo/.gitignore>
- Create a symlink to your
.gitignore
$ cd ~ $ ln -s <path/to/config/repo/.gitexcludes>
- Create a symlink to your
.powconfig
$ cd ~ $ ln -s <path/to/config/repo/.powconfig>
- Create a symlink to your
- Install git-completion
- Generate new SSH key
- Generate an access token for Terminal to auth your GitHub account when 2FA is enabled.
- Download SublimeText 3
- Install Spacegray Theme
- Use Source Code Pro (monospace font)
- Add Package Control
- Install favorite packages
- 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
.
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.
- Apple Mail Has its caveat but is out of the box
- Postbox (if you don't need exchange support)
- Time Machine
- Homebrew (
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
) - mysql
brew install mysql
- postgres
brew install postgres
- apple developer downloads
- Sequel Pro
- Postico
- Postgres.app this is an alternative to using brew for postgres management.