-
Notifications
You must be signed in to change notification settings - Fork 25
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
base: production
Are you sure you want to change the base?
Conversation
b1c4cd0
to
6b7fb7f
Compare
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.
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 |
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.
This should also activate Jetpack, Gutenberg, and the handbook plugin.
wp rewrite structure '/%postname%/' | ||
wp rewrite flush |
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.
I still had to go to Permalinks to re-save this, maybe it would work at the end of this script?
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.
It may. I've seen this behavior on other project as well and nothing appears to flush it properly.
This PR makes this project's installation mirror other wporg themes to make configuration easier.