-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker: install Gutenberg and Gutenberg debugger by default #11439
Conversation
This is automated check which relies on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds fair. Should we also take that opportunity to set GUTENBERG_DEVELOPMENT_MODE
to true?
Excellent idea! Added in 3e53b67. This will turn it true to everyone even if they don't run Anyone who had this constant defined in their mu-plugins file, will need to remove it from there. Otherwise they'll see warning in their PHP logs:
We can write a short announcement internally. |
Hmm, actually I take that back; the constant is defined in Gutenberg plugin itself when running Gutenberg directly from the repo: That should really be:
... I'll PR in core and revert the change here. Update: WordPress/gutenberg#14165 |
This reverts commit 3e53b67.
Good for another review. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me. 🚢
When running
yarn docker:install
(quick WordPress installer helper), install also Gutenberg and Gutenberg debugger plugins.While WP 5 has Gutenberg, it's pretty important to test with latest Gutenberg changes while developing. Latest Gutenberg also contains features for the next phases (e.g. right now Widgets and
G Debugger, on the other hand, integrates with the Gutenberg block editor to add useful visual debugging tools to assist in block development.
Testing
If you have WP installed, just run
yarn docker:uninstall
and thenyarn docker:install
again to test this script. You should end up with these plugins installed, but not activated../bin:/var/scripts
is mounted as volume, so changes to it should be visible in Docker container without restart or rebuild.Ensure you don't have
gutenberg
org-debugger
plugins in your folder before testing, unless you just want to see "Plugins already installed" -messages :-)