This Local Add-on gives you two new tools that help you blow your test sites up 💥.
- Local 6.3.0+ ⚡️
- Download the pre-packaged zip on the latest release, this is not the source code but the package attached.
- Unzip the code to the associated directory for your OS (see Clone)
Clone the repository into the following directory depending on your platform:
- macOS:
~/Library/Application Support/Local/addons
- Windows:
C:\Users\username\AppData\Roaming\Local\addons
- Debian Linux:
~/.config/Local/addons
yarn install
or npm install
- Clone repo directly into the add-ons folder (paths described above)
yarn install
ornpm install
(install dependencies)yarn build
ornpm run build
- Open Local and enable add-on
Screencast example: https://share.skc.dev/bLuR9gg6
This tool will empty all content (posts, comments, terms, and meta) for the site including attachments.
This leaves options in place and does not deactivate plugins.
What it runs in WP-CLI: wp site empty --uploads --yes
This tool will delete the entire site database and reinstall WordPress.
Note: An "admin" user will be setup with the password "admin".
What it runs in WP-CLI: wp db reset --yes --defaults
and wp core install --url=site.url --title=site.domain --admin_user=admin --admin_password=admin --admin_email=dev-email@flywheel.local --skip-email
Thanks to the Modern Tribe / The Events Calendar teams for allowing me to work on this during work and ultimately letting me adopt it personally to continue maintaining it.
MIT