To copy the database configuration, a customized version of the WP-CFM (Configuration Management) plugin is utilized. From the interface, you can add a new bundle and select all database rows that should be included (normally, all). Be aware that when new database rows are created (due to plugin activations, manual changes etc.), these rows are not automatically added to the bundle when pushing – so ‘select all’ before pushing. WP-CFM will then create a JSON file within the _scripts/build/local
folder where all the database settings for both your theme and WordPress-configuration are saved and can be pushed to Git. From another installation, click ‘Pull’ and the plugin will import the JSON file and change your database configuration accordingly.
Last modified | Friday, January 29, 2021, 8:41:53 AM UTC |
Last author | Glenn de Haan |
Commit ID | 8c81eec |