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

Leverage wp-cli for easier environment install. #324

Draft
wants to merge 3 commits into
base: production
Choose a base branch
from

Conversation

StevenDufresne
Copy link
Contributor

This PR makes this project's installation mirror other wporg themes to make configuration easier.

Copy link
Contributor

@ryelle ryelle 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 putting this together, it's much easier to get set up this way 💯


wp option update blogname "Five for the Future"

wp plugin activate wordpress-importer
Copy link
Contributor

Choose a reason for hiding this comment

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

This should also activate Jetpack, Gutenberg, and the handbook plugin.

Comment on lines +10 to +11
wp rewrite structure '/%postname%/'
wp rewrite flush
Copy link
Contributor

Choose a reason for hiding this comment

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

I still had to go to Permalinks to re-save this, maybe it would work at the end of this script?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It may. I've seen this behavior on other project as well and nothing appears to flush it properly.

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

Successfully merging this pull request may close these issues.

2 participants