Closed darylldoyle closed 1 year ago
This PR updates the local docker system to utilise the new Snapshots WP-CLI command rather than the prior docker-based WP Snapshots system.
This has the following benefits:
Closes #332 #316 #305
nvm use
npm run build
npm run 10updocker wp snapshots search <something>
npm run 10updocker wpsnapshots search <something>
npm run 10updocker snapshots search <something>
phpfpm
phpfpm: image: '10up/wp-php-fpm-dev:7.4-ubuntu' # ... volumes: # ... - '~/.wpsnapshots:/home/www-data/.wpsnapshots:cached' - '~/.aws:/home/www-data/.aws:cached'
Changed - Snapshots are now using the Snapshots WP-CLI command
Props @tlovett1, @darylldoyle
Description of the Change
This PR updates the local docker system to utilise the new Snapshots WP-CLI command rather than the prior docker-based WP Snapshots system.
This has the following benefits:
Closes #332 #316 #305
How to test the Change
nvm use
npm run build
npm run 10updocker wp snapshots search <something>
npm run 10updocker wpsnapshots search <something>
npm run 10updocker snapshots search <something>
phpfpm
container can access the required directories (see below)npm run 10updocker wp snapshots search <something>
npm run 10updocker wpsnapshots search <something>
npm run 10updocker snapshots search <something>
Changelog Entry
Credits
Props @tlovett1, @darylldoyle
Checklist: