Skip to content

Instantly share code, notes, and snippets.

@pixline
Created July 5, 2013 22:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pixline/5937737 to your computer and use it in GitHub Desktop.
Save pixline/5937737 to your computer and use it in GitHub Desktop.
Simple shell dev routine: - reset database - reinstall WP - install theme unit test dataset, plugins and options.
#!/bin/bash
wp db reset --yes
wp core install --url=http://wp35.dev --title="WP" --admin_name=test --admin_email=test@example.org --admin_password=test
wp theme-test install --menus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment