Allow drush site-install
to save db credentials, active/staging config directories, and hash_salt in settings.local.php
#246
Labels
Backdrop core already supports reading configuration from a
settings.local.php
file (see https://github.com/backdrop/backdrop/blob/1.x/settings.php#L458), although there's no such file shipped with core OOTB - it needs to be created manually.Drush currently supports this:
Additionally, I would like to be able to do something like this:
This would allow the
settings.php
file in my local to remain unchanged, so that I do not have to manually exclude it when doinggit add
(settings.local.php
is automatically excluded OOTB: https://github.com/backdrop/backdrop/blob/1.x/.gitignore#L5).As it is now, I have to:
drush si
-> things get saved intosettings.php
settings.local.php
filesettings.php
tosettings.local.php
Allowing
drush si
to accept a parameter to specify the settings file would save me the 2 manual steps from the process above.The text was updated successfully, but these errors were encountered: