Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 783 Bytes

File metadata and controls

41 lines (27 loc) · 783 Bytes

Development Environment

wp-env must be globally installed first

npm -g i @wordpress/env

Start the development environment

wp-env start

convenience script:

bin/start

Tail the debug.log

wp-env run wordpress -- tail -f wp-content/debug.log

with the timestamps and starting with the last few lines:

wp-env run wordpress -- tail -n 50 -f wp-content/debug.log

Configure wp-env

Edit .wp-env.json to add additional plugins, themes, or mu-plugins. See the wp-env documentation for more details.

Reload docker configs and restart containers (without fully destroying)

wp-env start --update