Note that things vary when managing different configurations per environment. SeeĀ D8 Configuration Split.
Setup
Make sure your settings.php defines the sync directory at sites/default/config. This can look like the following:
Code Block if ($is_installer_url) { $config_directories = array( CONFIG_SYNC_DIRECTORY => 'sites/default/files', ); } else { $config_directories = array( CONFIG_SYNC_DIRECTORY => 'sites/default/config', ); }
- Export all the configuration from your site (using Saving Config Changes), and commit it to sites/default/config .
...