config

config

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.

Config

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.

Contents

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.

Checklist

1. Prep OS X

2. Prep Terminal.app

  • 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>
      
  • Install git-completion

    3. Secure Git(Hub) access

  • Generate new SSH key

  • Generate an access token for Terminal to auth your GitHub account when 2FA is enabled.

4. Setup SublimeText

5. Setup Ruby

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.

6. Additional dependencies

The following is a list of apps lightly categorized that that I've found useful over the last 10 years using a mac.

Communication

Email

  • Apple Mail Has its caveat but is out of the box
  • Postbox (if you don't need exchange support)

File Storage

Backup

  • Time Machine

Personal

Productivity

Developer

Terminal

  • 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

Database Management

Utility: