-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
John Spellman
committed
May 9, 2023
1 parent
5975134
commit 2c4048f
Showing
9 changed files
with
160 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,9 @@ set -ex | |
terminus env:create $TERMINUS_SITE.dev $TERMINUS_ENV | ||
terminus env:wipe $SITE_ENV --yes | ||
|
||
# Enable Redis | ||
terminus redis:enable $TERMINUS_SITE | ||
|
||
### | ||
# Get all necessary environment details. | ||
### | ||
|
@@ -87,7 +90,9 @@ terminus build:workflow:wait $TERMINUS_SITE.$TERMINUS_ENV | |
{ | ||
terminus wp $SITE_ENV -- core install --title=$TERMINUS_ENV-$TERMINUS_SITE --url=$PANTHEON_SITE_URL --admin_user=$WORDPRESS_ADMIN_USERNAME [email protected] --admin_password=$WORDPRESS_ADMIN_PASSWORD | ||
} &> /dev/null | ||
terminus wp $SITE_ENV -- cache flush | ||
|
||
echo "Flush cache and setup environment..." | ||
terminus wp $SITE_ENV -- plugin activate wp-redis classic-editor | ||
terminus wp $SITE_ENV -- cache flush | ||
terminus wp $SITE_ENV -- theme activate twentyseventeen | ||
terminus wp $SITE_ENV -- rewrite structure '/%year%/%monthnum%/%day%/%postname%/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.