Setting up WordPress with WP-CLI

Links:

WP-CLI Commands Used:

wp core download
wp config create --dbname=sample --dbuser=root --dbpass=root
wp db create
wp core install --url=http://local.sample.com --title="Sample Site" --admin_user=admin --admin_email=johnsmith@sample.com
wp theme activate my-theme

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.