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

Declare required plugins as required plugins #34

Open
tomjn opened this issue Mar 23, 2023 · 2 comments
Open

Declare required plugins as required plugins #34

tomjn opened this issue Mar 23, 2023 · 2 comments

Comments

@tomjn
Copy link

tomjn commented Mar 23, 2023

Plugins should be declared as dependencies in composer.json, not links in a readme to zip files. This would allow them to be auto-installed, eliminating at least 3 setup steps

@tomjn
Copy link
Author

tomjn commented Mar 23, 2023

as an aside, since WP Env allowed setting up config statements, those could be used to override the theme used and skip another step

@michalczaplinski
Copy link
Collaborator

Hi Tom!

Plugins should be declared as dependencies in composer.json, not links in a readme to zip files. This would allow them to be auto-installed, eliminating at least 3 setup steps

I'm not familiar with how this is configured. Can composer dependencies be just URLs that point to a ZIP file? Could you point me to an example?

as an aside, since WP Env allowed setting up config statements, those could be used to override the theme used and skip another step

Yes, that's true and in fact it's configured in the wp-env.json file:

"themes": ["./wp-movies-theme"],

but it doesn't seem to reliably activate the theme so we've made sure to add that step in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants