Home

Awesome

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.

Contents

FileDescription
.bash_profileCustomizes the Terminal.app prompt and echoes the currently checked out Git branch.
.gitconfigGlobal Git configuration to specify my name and email, shortcuts, colors, and more.
.gitignoreThe ignore file from twbs/bootstrap that I use everywhere.

Shell script (WIP)

This repository includes a shell script for executing the bulk of the configuration process. First, install and agree to terms for Xcode, then download and run Strap. Then, enter the following in Terminal:

curl https://raw.githubusercontent.com/mdo/config/master/config.sh > ~/Downloads/config.sh && bash ~/Downloads/config.sh

Many of the included macOS Terminal customizations are taken from https://github.com/pawelgrzybek/dotfiles and https://github.com/mathiasbynens/dotfiles.

Checklist

1. Prep OS X

Be sure to open Xcode and agree to the terms of use.

2. Prep Terminal.app

3. Secure Git(Hub) access

4. GitHub dev setup

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.

Having trouble with nokogiri? See https://stackoverflow.com/a/41491487.

6. Additional dependencies

7. Customize things

Use it yourself

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!

Works on my machine

Yup, it does. Hopefully it does on yours as well, but please don't hate me if it doesn't.

<3