Skip to content

Instantly share code, notes, and snippets.

@wolfthemes wolfthemes/wp-cli.txt Secret
Created Feb 10, 2017

Embed
What would you like to do?
# Install wordpress
wp core download && wp core config --dbname=wp_db --dbuser=root && wp core install --url=http://localhost/wp/ --title=Wordpress --admin_user=admin --admin_password=admin --admin_email=youremail@domain.com
# Install and activate Plugins
wp plugin install wordpress-importer --activate
# Generate Posts
curl http://loripsum.wolfthemes.com | wp post generate --post_content --count=10
# Activate a theme
wp theme activate twentysixteen
# re-generate all thumbnails, without confirmation
wp media regenerate --yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.