yarn
yarn build
composer install
- Set your
WORDCAMP_DEV_GOOGLE_MAPS_API_KEY
in.wp-env.json
if you want to test Google Map. yarn wp-env start
yarn setup:wp
-
Stop the environment.
yarn wp-env stop
-
Restart the environment.
yarn wp-env start
-
Open a shell inside the docker container.
yarn wp-env run wordpress bash
-
Run wp-cli commands. Keep the wp-cli command in quotes so that the flags are passed correctly.
yarn wp-env run cli "post list --post_status=publish"
-
Watch for PCSS/JS changes and rebuild them as needed.
yarn run watch