Skip to content

Instantly share code, notes, and snippets.

View gdestree's full-sized avatar

Gregor Destree gdestree

  • New York, NY
View GitHub Profile
@gdestree
gdestree / dnsmasq-setup.md
Created December 18, 2017 19:48
Setup dnsmasq on OS X *updated for .test

Never touch your local /etc/hosts file in OS X again

UPDATED for .test

To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.

Requirements

0. Update Your Operating System
If you are using OS X, you should upgrade to at least Mavericks if you haven't already. You can get it from the App Store on your computer, and it's free. To find out which operating system you're running, open the "About this Mac." Under OS X, you should see a version. Mavericks (10.9) and Yosemite (10.10) will both work for Phase 0. If you're using El Capitan (10.11), you'll need to install an extra app in step 2, but it's free.
Before installing, it's always good practice to back up your hard drive, so you don't lose anything!
1. Download Sublime Text
Similar to how you might use Pages or Word to edit a document, or Excel or Numbers to edit a spreadsheet, you need a certain sort of editing program to write and edit code. Lots of text editors can do the job, but in this course, you'll use Sublime Text as your text editor. Sublime is available for free download on their site (Links to an external site.). Make sure to move it to your applications folder. You can choose to d