This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If reinstalling, the items preceded with (s) can be skipped on the reinstall | |
1) on your Mac open your terminal | |
2) Install Home Brew: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
3) Install NGINX ( Webserver ): brew install nginx | |
4) (s) Install dnsmasq for local DNS and subdomains like oc.test: | |
~ The following commands will install dnsmasq, configure it to point all requests to the .test top-level domain to | |
our local machine, and make sure it starts up and runs all of the time. | |
~ brew install dnsmasq | |
~ cd $(brew --prefix); echo 'address=/.test/127.0.0.1' > etc/dnsmasq.conf | |
~ sudo cp -v $(brew --prefix dnsmasq)/homebrew.mxcl.dnsmasq.plist /Library/LaunchDaemons |