Skip to content
/ config Public
forked from mdo/config

Personal checklist for setting up a new Mac's dev environment.

Notifications You must be signed in to change notification settings

kmaar/config

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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 ignore file from twbs/bootstrap that I use everywhere.

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

  • Download the Strap setup script for GitHub's foundational development setup.
  • Clone the github/github repository and run script/bootstrap.

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

  • Install node via Homebrew: brew install node.
  • Install Sass, Jekyll, and Rouge: gem install bundler sass jekyll rouge.

7. Setup VSCode

  • Download editor font from https://www.typography.com/
  • Paste user settings from repo's file
  • Paste css from repo's vscode css into a local file, link in user settings
  • Enable code terminal commands: from VSCode, open the command palette and type Shell command...
  • Install favorite extensions
    • Cobalt2 (theme)
    • live share
    • vscode icons
    • quokka
    • git blame
    • prettier
    • eslint
    • path intellisense
    • custom css and js loader
    • emmet
    • import cost

8. Customize things

  • Set keyboard repetition speed in System Preferences to max for speedy code navigation :)
  • Show hidden files with defaults write com.apple.finder AppleShowAllFiles YES
  • Hide desktop icons with defaults write com.apple.finder CreateDesktop false; killall Finder

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

About

Personal checklist for setting up a new Mac's dev environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%