ddev-pull-wp-scripts
ddev-pull-wp-scripts copied to clipboard
Inofficial DDEV pull scripts for happy local WordPress development. Status: Work in progress.
The scripts provided here parses out config settings like `DB_NAME` from `wp-config.php`. See: - https://github.com/mandrasch/ddev-pull-wp-scripts/blob/main/.ddev/providers/ssh.yaml#L60 - https://github.com/mandrasch/ddev-pull-wp-scripts/blob/main/.ddev/providers/backup.yaml#L35 Settings for `wp-config.php` can be written in 3 styles: ```php // single quotes...
Obtaining database... Unzip wp-config.php from backup .zip-file to get DB_NAME-value ... Archive: backup.zip inflating: /var/www/html/.ddev/.downloads/db/wp-config.php Unzipping .sql from backup .zip-file ... Archive: /var/www/html/backup.zip caution: filename not matched: .sql Pull failed:...
Andre thanksfully prepared this already on DDEV-discord https://discord.com/channels/664580571770388500/913435556782956544/946342142626893844 (by Twitter: @Andre_Kraus / Github: @krausandre)