Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

PLAT-127 parametrize settings #172

Merged
merged 5 commits into from
Apr 20, 2016
Merged

Conversation

bimsonz
Copy link
Contributor

@bimsonz bimsonz commented Apr 18, 2016

Fixes https://jira.comicrelief.com/browse/PLAT-127

Changes proposed in this pull request

  • Add environment.yml file...
  • Update setting.php...

$settings['skip_permissions_hardening'] = TRUE;

$settings['profile_directories'] = ['profiles/cr', 'profiles/rnd17'];
$config_directories['sync'] = 'sites/default/files/config_y8vJ4brpwPsHm-K_yfMf8LPe_JvB6RE6pUM3SJj69h3MNkcxqaw2h7B9E5mc9geVpK0oz61QrA/sync';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bimsonz should this be part of the settings.php?

@pvhee
Copy link
Contributor

pvhee commented Apr 19, 2016

@bimsonz generally looking good, but I'd like to have you add some minimal doc as well with this PR so we now how to set up environments.

Also relevant for @bendodd as this might be changing the way we inject env vars for CF

@bendodd
Copy link
Contributor

bendodd commented Apr 19, 2016

@bimsonz @pvhee From a PaaS point of view, it's important that config is not pre-defined and committed to code - this will remove the flexibility to deploy and test the application - the app should be getting it's config from it's environment: http://12factor.net/config

@pvhee pvhee merged commit 7164bde into develop Apr 20, 2016
@pvhee pvhee deleted the feature/PLAT-127_parametrize_settings branch April 20, 2016 13:40
@pvhee pvhee mentioned this pull request Jan 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants