Download the PHP package xenomedia/xeno_config_split without Composer
On this page you can find all versions of the php package xenomedia/xeno_config_split. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xenomedia/xeno_config_split
More information about xenomedia/xeno_config_split
Files in xenomedia/xeno_config_split
Package xeno_config_split
Short Description Creates xeno media configuration split settings
License GPL-2.0+
Homepage https://github.com/xenomedia/xeno_config_split
Informations about the package xeno_config_split
Xeno Media Configuration Split
Background
Xeno Media builds tons of sites. This module allows all our sites to quickly create a unified config split accross all our sites.
Installation
Install the module:
Enable the modules:
Create/update drush/policy.drush.inc
file:
Create split directories:
In your settings.php update/set your config directory to:
On Your local or development server add the following to your settings.local.php or settings.dev.php file:
If you are using Pantheon you can add the following to your settings.php file.
If you are not on pantheon create/update settings.dev.php.
If you are not on pantheon create/update settings.stage.php.
If you are not on pantheon create/update settings.prod.php.
Then in your local.settings.php comment/uncomment basees on the environment:
Post-installation
This module is only meant as a starting point. Once installed you should uninstall the module.
There may be cases that you don't need a staging and development split since they may be exactly the same. In that case you can just delete one of them.
How to use it
See Configuration Split for full documentation.
In short, update your settings.local.php for the environment you want to make changes to.
Example: Add a module so it is only installed on production
Update your settings.local.php so that only production
is TRUE
and the
others are set to FALSE
.
Run drush csim -y
Select the module in the Complete Split select.
Run drush csex -y
Example: Ignore Webform settings
Navigate to /admin/config/development/configuration/ignore
Add webform.webform.*
to text area
Save Configuration
Run drush csex -y