Skip to content
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

Docs: Add instructions for installing plugins/themes with wp-env #35064

Merged
merged 1 commit into from
Sep 23, 2021

Conversation

AetherUnbound
Copy link
Contributor

Description

This PR adds an example for installing plugins and themes using wp-env. I encountered an issue similar to wp-cli/wp-cli#3255, docker-library/wordpress#417 where I was unable to install plugins or themes. I've provided instructions for how to install plugins using the conventional wp-env method, as well as an alternate in case that does not work for some folks.

How has this been tested?

The additional command I provided was the only way I was able to install a plugin locally; I've tested that both themes and plugins can be installed with this method.

Screenshots

Types of changes

Small docs addition!

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • I've tested my changes with keyboard and screen readers.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR (please manually search all *.native.js files for terms that need renaming or removal).

(I've left these unchecked since they don't appear to apply to documentation, but please let me know if there are any I should check/run)

@github-actions github-actions bot added the First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository label Sep 22, 2021
@github-actions
Copy link

👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @AetherUnbound! In case you missed it, we'd love to have you join us in our Slack community, where we hold regularly weekly meetings open to anyone to coordinate with each other.

If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information.

packages/env/README.md Outdated Show resolved Hide resolved
Copy link
Member

@Mamaduka Mamaduka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this, @AetherUnbound.

Let's merge this PR once all checks are green ✅

@Mamaduka Mamaduka merged commit 0c3cbd0 into WordPress:trunk Sep 23, 2021
@Mamaduka Mamaduka added [Tool] Env /packages/env [Type] Developer Documentation Documentation for developers labels Sep 23, 2021
@github-actions github-actions bot added this to the Gutenberg 11.7 milestone Sep 23, 2021
@AetherUnbound
Copy link
Contributor Author

Fantastic, thanks for the quick turnaround! 🙌🏼

@AetherUnbound AetherUnbound deleted the docs/wp-env-edge-case branch September 28, 2021 16:45
@oxyc
Copy link
Member

oxyc commented Mar 12, 2022

Trying to run wp-env on Github Actions and running into this but the workaround doesn't fix it either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository [Tool] Env /packages/env [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants