You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Adding WordPress config additions (based on a similar approach by ddev-redis addon)
* Replace the actual config file with the temp file
* Replace the actual config file with the temp file
* Include addon files in the project
* Add ${DDEV_APPROOT} to shell script. Added some additional notes to README.
* Added some wp-config notes to the README
* Revert formatting changes to README
* Changed approach so the script modified wp-config.php instead of wp-config-ddev.php
* Missing " mark
* Improving the removal process to do a better job of cleaning up wp-config.php
Copy file name to clipboardExpand all lines: install.yaml
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,9 @@ project_files:
13
13
- web-build/Dockerfile.ddev-browsersync
14
14
- browser-sync.js
15
15
- commands/web/browsersync
16
-
16
+
- scripts/wp-config-ddev-browsersync.php
17
+
- scripts/remove-wordpress-settings.sh
18
+
- scripts/setup-wordpress-settings.sh
17
19
18
20
post_install_actions:
19
21
- |
@@ -25,3 +27,12 @@ post_install_actions:
25
27
#ddev-nodisplay
26
28
#ddev-description:Remove old 'docker-compose.browsersync.yaml'
27
29
if grep "#ddev-generated" $DDEV_APPROOT/.ddev/docker-compose.browsersync.yaml 2>/dev/null; then rm -f "$DDEV_APPROOT/.ddev/docker-compose.browsersync.yaml"; fi
30
+
#ddev-description:Install browsersync settings for WordPress if applicable
31
+
scripts/setup-wordpress-settings.sh
32
+
33
+
removal_actions:
34
+
- |
35
+
#ddev-nodisplay
36
+
#ddev-description:Remove browsersync settings for WordPress if applicable
0 commit comments