Closed asghaier closed 8 years ago
Uncomment:
$settings['bootstrap_config_storage'] = array('Drupal\Core\Config\BootstrapConfigStorageFactory', 'getFileStorage');
Add:
$config_directories = array(
CONFIG_ACTIVE_DIRECTORY => './../config/active/',
CONFIG_STAGING_DIRECTORY => './../config/staging/',
CONFIG_SYNC_DIRECTORY => './../config/sync/',
);
In git root directory create the following directories:
config/active
config/staging
config/sync
Add:
services:
config.storage:
class: Drupal\Core\Config\CachedStorage
arguments: ['@config.storage.active', '@cache.config']
config.storage.active:
class: Drupal\Core\Config\FileStorage
factory: Drupal\Core\Config\FileStorageFactory::getActive
config/active
directory is empty, if not remove any files thereconfig/active
directory, remove all files theregit checkout config/active
to get the original project config files/admin/config/development/performance
or by using drush cr
TODO: Write a more detailed documentation in the wiki for new developers on setting up the project for the first time and how to contribute.
PS: Effective starting from commit https://github.com/gnulugtn/portal/commit/f028dcebd16ff544241a235a5d4bb9bce7bc7443
Discovery of Drupal 8 CMI and Features. Document the best Drupal 8 development workflow.