• Stars
    star
    618
  • Rank 72,605 (Top 2 %)
  • Language
    Shell
  • Created almost 10 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.

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

  • Download and install latest version of Xcode from the Mac App Store.
  • Open Terminal and trigger Xcode Command Line Tools installation: xcode-select --install

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. Customize things

  • Disable LCD font smoothing
  • Hide desktop icons with defaults write com.apple.finder CreateDesktop false; killall Finder
  • Set sidebar icons to Small

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

More Repositories

1

code-guide

Standards for developing consistent, flexible, and sustainable HTML and CSS.
SCSS
8,458
star
2

github-buttons

Showcase the success of any GitHub repo or user with these simple, static buttons with dynamic counts.
JavaScript
2,858
star
3

wtf-forms

Friendlier HTML form controls with a little CSS magic.
CSS
2,693
star
4

preboot

A collection of LESS mixins and variables for writing better CSS.
CSS
1,677
star
5

wtf-html-css

Common reasons your HTML and CSS may be fucked.
CSS
1,407
star
6

css-perf

**Archived.** Derping around with measuring CSS performance.
HTML
572
star
7

jekyll-snippets

Library of commonly used snippets for Jekyll sites.
552
star
8

github-wide

Userstyle for making all of GitHub completely fluid.
CSS
497
star
9

table-grid

Simple CSS grid system using `display: table;`.
CSS
475
star
10

ocean-terminal

An OS X Terminal.app profile based on the base16 Ocean theme.
413
star
11

mdoml

An experiment in creating custom HTML elements based on today’s most common interface elements.
CSS
174
star
12

sublime-snippets

Custom snippets for Sublime Text 2
153
star
13

twitter-userstyle

Bring the aesthetic of Twitter for iOS to the new Twitter.com.
CSS
139
star
14

jekyll-example

Example Jekyll site with basic defaults and Sass enabled.
CSS
132
star
15

bsu

Bootstrap University is a hands-on code lab specially designed to familiarize you with building on the Web with Bootstrap by quickly taking you through building an example page with the latest beta version of Bootstrap 3.
CSS
87
star
16

bootstrap-css-grid-layout

Attempting to rebuild Bootstrap's grid in CSS Grid Layout.
CSS
57
star
17

css-output

Comparing the differences in compiled CSS when using different Sass/Less methods to build reusable components.
CSS
57
star
18

mdo-df-css

Custom user style that overhauls the default CSS for daringfireball.net to increase readability.
CSS
41
star
19

minecraft

Links, resource packs, and more for my Minecraft setup.
Shell
31
star
20

dotfiles

Shell
17
star
21

userstyles

Customizations and enhancements for sites and app I love most.
CSS
12
star