The Challenges
- Accidental Configuration Changes
- Keeping Track of Configuration History
- Environment Specific Configuration
- Separating Content From Configuration
The Goals
- Keep Track of Changes – Source Control
- Ensure The Right Configuration For The Environment
- Single Configuration
- Per-Environment Configuration
- Deploy Content Without Concern For Losing Configuration
- CI/CD – Deploy Code & Configuration
- Content Copy – Database Migrations
The Guide – How Can We Do Configuration Management?
Configuration Management
What Does WP-CFM Provide?
Using Bundles to Group Configuration
- WordPress Core Starting Settings
- Active Plugins
- Widgets
- Specific Plugin Settings
Support for Multiple Environments
- Out-of-the-Box on Pantheon
- Hooks Available to Supply Environment Logic
Manage Configuration via the WordPress CLI
wp config
wp config push <bundle_name>|all
wp config pull <bundle_name>|all