Created
January 18, 2017 20:02
-
-
Save fastzen/e6015d8e677c75b15220ded9d6079e1a to your computer and use it in GitHub Desktop.
WP-CLI quick start
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
wp core download --path=wpclidemo | |
cd wpclidemo | |
wp core config --dbname=wpclidemo --dbuser=root --dbpass=password | |
wp db create | |
# The following installs correctly but reports an error when attempting to connect to SMTP | |
wp core install --url=wpclidemo.dev --title="WP-CLI" --admin_user=wpcli --admin_password=wpcli --admin_email=info@wp-cli.org | |
# start over again | |
cd .. | |
rm -rf wpclidemo | |
mysqladmin -uroot -ppassword drop wpclidemo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment