⚠️ If you fork this repo or just copy-paste things you need to change your.gitconfig
name and email address!
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 get back to coding.
This was Mark Otto's idea, originally.
File | Description |
---|---|
.bash-profile |
Customizes the Terminal.app prompt and echoes the checked out Git branch. |
.gitconfig |
Global Git config with my name and email, shortcuts, colors, and more. |
.gitignore |
A generic ignore file adapted from twbs/bootstrap's. |
.vimrc |
Adds some nice highlighting for authoring commit messages |
defaults.sh |
Sets some OS X defaults for System Preferences, Finder, Safari etc. |
config.cson |
My Atom editor preferences. |
atom-pkgs.cson |
My Atom editor plug-ins and themes. |
- Download and install latest version of Xcode from the Mac App Store
- Download and install Xcode command line tools
- Install rbenv
- Install a Ruby version (last one I used was
1.9.3-p551
)- Set a global Ruby version
- Install common gems:
$ gem install sass jekyll rouge
- Download and run the Node.js Mac installer
- Generate new SSH key
- Generate an access token for Terminal to auth your GitHub account when you've got 2FA enabled.
- Load
.bash_profile
- Load
.gitconfig
contents into the global~/.gitconfig
- Tweak colour scheme
-
Download Atom.
-
Install my precious add-ons and themes using the Atom Package Manager CLI.
apm install --package-file atom-pkgs.txt
-
Copy config.cson to your user prefs (~/.atom/config.cson).