Skip to content

Instantly share code, notes, and snippets.

@tommcfarlin
Forked from anonymous/00-homebrew.txt
Last active October 30, 2017 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tommcfarlin/7b447623f1e75a8ca8713a76d2c17e1c to your computer and use it in GitHub Desktop.
Save tommcfarlin/7b447623f1e75a8ca8713a76d2c17e1c to your computer and use it in GitHub Desktop.
Setting Up a 2017 MacBook Pro For WordPress Development
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew tap homebrew/php
$ brew install homebrew/php/php70
$ brew install composer
$ brew install wp-cli
$ brew install php-unit
$ brew install php-code-sniffer
$ composer global require laravel/valet
$ export PATH="$PATH:$HOME/.composer/vendor/bin"
$ valet install
$ brew install homebrew/php/php70-xdebug
xdebug.remote_enable=1
xdebug.remote_port=9001
xdebug.remote_autostart=1
xdebug.idekey=PHPSTORM
$ brew install node
$ brew install mysql
$ brew services start mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment