-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert changes to dev env, as they are not used anymore
- Loading branch information
1 parent
1ed0d4c
commit 25fbaf0
Showing
5 changed files
with
13 additions
and
73 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,16 +54,13 @@ echo -e $(status_message "Contributor created! Username: contributor Password: p | |
wp user create subscriber [email protected] --role=subscriber --user_pass=password --quiet | ||
echo -e $(status_message "Subscriber created! Username: subscriber Password: password") | ||
|
||
# Make sure the required folders exist and we have permissions to add files. | ||
# Make sure the uploads and upgrade folders exist and we have permissions to add files. | ||
echo -e $(status_message "Ensuring that files can be uploaded...") | ||
container mkdir -p \ | ||
/var/www/html/wp-content/mu-plugins \ | ||
/var/www/html/wp-content/plugins \ | ||
/var/www/html/wp-content/uploads \ | ||
/var/www/html/wp-content/upgrade | ||
container chmod 767 \ | ||
/var/www/html/wp-content \ | ||
/var/www/html/wp-content/mu-plugins \ | ||
/var/www/html/wp-content/plugins \ | ||
/var/www/html/wp-config.php \ | ||
/var/www/html/wp-settings.php \ | ||
|
@@ -98,13 +95,9 @@ container chmod 767 /var/www/html/favicon.ico | |
echo -e $(status_message "Activating AMP plugin...") | ||
wp plugin activate amp --quiet | ||
|
||
# Install & activate Gutenberg plugin. | ||
echo -e $(status_message "Installing and activating PWA plugin...") | ||
wp plugin install pwa --activate --force --quiet | ||
|
||
# Install & activate Gutenberg plugin. | ||
echo -e $(status_message "Installing and activating Gutenberg plugin...") | ||
wp plugin install gutenberg --activate --force --quiet | ||
wp plugin install gutenberg --activate --force --quiet --version=7.1.0 | ||
|
||
# Set pretty permalinks. | ||
echo -e $(status_message "Setting permalink structure...") | ||
|
This file was deleted.
Oops, something went wrong.