Problem/Motivation

We have a config/sync directory outside the root but currently it has to be set manually every time we set up the project.

Steps to reproduce

Set up the project. After setup, the config sync directory is something like:
$settings['config_sync_directory'] = 'sites/default/files/config_P0mmr3X3zO6cWP8OO1FywKNhkFdgEjK-C-g9KVNUJPYVL2YykVpdsY93yplpe-nCDYpPH9WoAg/sync';

Proposed resolution

Create a settings.php in an assets directory and use composer scaffolding to scaffold settings.php with our custom version which has the config_sync_directory set to ../config/sync.

Comments

Laura Johnson created an issue. See original summary.

ltrain’s picture

Version: 3.x-dev » 4.x-dev
ccjjmartin’s picture

Version: 4.x-dev » 5.x-dev

Bumping this to version 5 per our discussion about how the distro install breaks if you change the config directory pre-install.

ccjjmartin’s picture

Status: Active » Needs work

This turned into the larger project of removing the distro, PR here: https://github.com/fourkitchens/sous-drupal-project/pull/87

cbfannin’s picture

This was completed along with reworking the scaffolding on this PR: https://github.com/fourkitchens/sous-drupal-project/pull/88

cbfannin’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.