Skip to content

Instantly share code, notes, and snippets.

@shawnhooper
Created October 15, 2016 20:18
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save shawnhooper/19610614f197cffa4f387e9ce86fa2e6 to your computer and use it in GitHub Desktop.
Save shawnhooper/19610614f197cffa4f387e9ce86fa2e6 to your computer and use it in GitHub Desktop.
#!/bin/bash
wp core download --version=4.5
wp core config --dbname=$1 --dbuser=root --dbhost=127.0.0.1
wp db create
wp core install --skip-email --title="$1" --admin_user="shawn" --admin_password="shawn" --admin_email=shawn@actionable.co --url=http://wcroc.dev/
wp theme install simone --activate
wp plugin delete hello
wp plugin install any-ipsum;
wp plugin install advanced-custom-fields --version=4.4.0 --activate
wp plugin install tinymce-advanced --activate
wp plugin install wordpress-importer --activate
wp import ~/Downloads/theme-unit-test-data.xml --authors=create
wp user import-csv ~/www/testusers.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment