Created
September 13, 2017 22:05
-
-
Save boogah/878443bdac318f15759625e9387f1f99 to your computer and use it in GitHub Desktop.
This file contains 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
# These instructions cover how to install Laravel Valet (including its requirements) on macOS and prep it for WordPress development. |
This file contains 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
# Install Xcode Command Line Tools | |
→ xcode-select --install | |
# Install Homebrew | |
→ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Update Homebrew Package Index | |
→ brew update | |
# Confirm Homebrew is Installed Correctly | |
→ brew doctor |
This file contains 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
# Install PHP 7.0 | |
→ brew tap homebrew/php | |
→ brew install php70 | |
# Install Xdebug (optional) | |
→ brew install php70-xdebug | |
# Confirm PHP is Installed Correctly | |
→ php -v |
This file contains 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
# Install MySQL | |
→ brew install mariadb | |
# Launch MySQL at Login | |
→ brew services start mariadb |
This file contains 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
# Install Composer | |
→ brew install composer | |
# Confirm Composer is Installed Correctly | |
→ composer -V |
This file contains 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
# Install Valet (Part 1) | |
→ composer global require laravel/valet | |
# Install Valet (Part 2) | |
→ valet install | |
# Create a Directory for Valet Sites | |
→ mkdir ~/sites/valet/ | |
→ cd ~/sites/valet/ | |
→ valet park |
This file contains 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
# Install WP-CLI | |
→ cd ~ | |
→ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
→ php wp-cli.phar --info | |
→ chmod +x wp-cli.phar | |
→ sudo mv wp-cli.phar /usr/local/bin/wp | |
# Install Valet tools for WP-CLI | |
→ wp package install aaemnnosttv/wp-cli-valet-command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment