cooldriver / dev_setup_mac

A guide to setup a development environment on a new Mac.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dev Setup Mac OS X

A guide to setup a development environment on a new Mac.

Summary

System update

Check if system updates are available (Apple menu > Software Update...)

System preferences

Change DNS

  1. Go to System Preferences > Network;
  2. Select Wi-Fi from the left-hand pane and click the Advanced button;
  3. Open the DNS tab;
  4. Click the + button under the DNS Servers and type 4.4.4.4;
  5. Click the + button (again) and type 8.8.8.8;
  6. Hit OK.

You might want to repeat the process for your Ethernet interface.

Dropbox

Browsers

Firefox

  • Link
  • Enable sync
  • Extensions:
    • Firebug
    • YSlow
    • ColorZilla
    • DNS Flusher
    • HttpRequester (obsolete, see Postman on Chrome)
    • 1 Password

Chrome

  • Link
  • Enable sync
  • Extensions:
    • Adblock Plus
    • Checker Plus for Gmail
    • Google Cast
    • Hola
    • Postman

iTerm2

1 Password

Alfred

  • Link
  • Sync with dropbox
  • Workflows:
    • Caffeniate Control

Vim

  • Copy .vimrc to ~

ZSH

  • Link
  • Copy .zshrc to ~

Homebrew

Installation

First, install XCode, then run the following command.

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

One thing we need to do is tell the system to use programs installed by Hombrew (in /usr/local/bin) rather than the OS default if it exists. As ew use ZSH, we do this by checking if the file .zshrc has the following line (it should if you used the dotfile in this repos):

export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

Open a new terminal tab with Cmd+T (you should also close the old one), then run the following command to make sure everything works:

$ brew doctor

Then update Homebrew's directory of formulae:

$ brew update

Inspiration

About

A guide to setup a development environment on a new Mac.

License:GNU General Public License v2.0


Languages

Language:Vim Script 78.6%Language:Shell 21.4%