-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Background
Currently, the site:settings
command will append the contents of a template (https://github.com/dennisinteractive/drupal_console_commands/blob/master/src/Command/Site/Settings/Includes/Drupal8/settings.local.php) onto settings.local.php.
This is not very generic, it makes the assumption that everyone uses the modules in the template.
Proposed solution
- Remove the template above.
- Do not include the template
- Add new section on sites yml containing the settings for each env i.e.
settings:
config:
stage_file_proxy.settings:
origin: cdn.subscriptions.dennis.co.uk
cdn.settings:
mapping:
domain: http://subscriptions.vm8.didev.co.uk
The generated settings.local.php should look like this:
$config['stage_file_proxy.settings']['origin'] = 'cdn.subscriptions.dennis.co.uk';
$config['cdn.settings']['mapping']['domain'] = 'http://subscriptions.vm8.didev.co.uk';
Metadata
Metadata
Assignees
Labels
No labels