Uses Docker Compose to run wordpress in a container, maps the ./plugin directory into Wordpress
- Download & install Docker
- Run
docker compose up& wait to finish - Visit
http://localhost:8080and follow first time setup instructions - The plugin needs to be installed, but changes will reflect immediately
docker compose updocker compose down
install asdfasdf plugin-add nodejsasdf plugin-add pnpmcd plugin/jammed-booking-wpasdf install- Run
pnpm run buildto build your JavaScript file. This will create a build directory with the compiled index.js file.
- Install the WP CLI
brew install wp-cli - Run the plugin check via root directory
wp plugin check plugins/jammed-booking-wp