Skip to content

Instantly share code, notes, and snippets.

@montchr
Created March 11, 2014 02:47
Show Gist options
  • Save montchr/9478593 to your computer and use it in GitHub Desktop.
Save montchr/9478593 to your computer and use it in GitHub Desktop.
Webdev Resources

Web development on a Mac

Requirements

  • Mac OS X 10.8.4+

Prep

  1. Install the latest version of Xcode 5 (currently 5.0.2) from Downloads for Apple Developers or, alternatively, the Mac App Store.
  2. Install the Command Line Tools for Xcode. Choose the version appropriate to your OS version – there's one release for Mountain Lion (10.8) and another for Mavericks (10.9).

The "Get Rich Quick" Method

If you want to get this whole setup thing over with as quickly as possible while having the greatest effect, you may benefit from using a .dotfiles template.

A .dotfiles template will run a few scripts to install important dependencies, it will make Git your best friend, it will make your command- line experience 1000x more enjoyable, and it will make your system ready for anything.

These are called .dotfiles because the end result of using a template is the symbolic linking (symlinking) of a set of hidden files in your home ~/ directory, each of which has a particular job in configuring the tools that make developing easier. Many of the files in a .dotfiles template are symlinked to ~/ – any changes to a file in the template is reflected in the corresponding file in your home directory, and vice versa.

Many developers post their .dotfiles on GitHub for perusal and for forking. I've forked one particularly robust .dotfiles template put together by Zach Holman, a staff member at GitHub. I've also integrated some things from a lot of other dotfiles repos.

To get started using my .dotfiles template, do the following:

  1. Install Sublime Text 3 Beta.
  2. Go to montchr/dotfiles. Read the readme. Follow its instructions.
  3. Profit.

Git

SASS/SCSS

Ruby

If you're reading this, you probably don't write Ruby. ;) But you'll certainly be using it. It's good to have a basic grasp of how Ruby/Rubygems/RVM/Bundler work together to keep Ruby out of your hair as much as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment