2017 © Pedro PelĂĄez
 

drupal-module kalaconfig

Provides a base set of configuration and module dependencies for starting new Drupal projects.

image

kalamuna/kalaconfig

Provides a base set of configuration and module dependencies for starting new Drupal projects.

  • Friday, May 18, 2018
  • by derekderaps
  • Repository
  • 11 Watchers
  • 0 Stars
  • 1,067 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 23 % Grown

The README.md

Kalamuna Configuration

Kalaconfig provides some configuration and module dependencies for starting new Drupal projects, including three config split environments—dev, test, and live., (*1)

Note: This module automatically uninstalls itself immediately after installation. But do not remove it! Composer dependencies are still needed., (*2)

Usage

  1. Merge the following snippet into your project's composer.json file so that drupal-library and component dependencies install to the correct location:, (*3)

    "extra": {
        "installer-types": ["component"],
        "installer-paths": {
            "web/libraries/{$name}": [
              "type:component",
              "type:drupal-library"
            ]
        }
    }
    

    where web/libraries/ is the path to your libraries directory relative to your project root. Take care not to wipe out any of the existing extra and installer-paths settings that may already exist in your composer.json., (*4)

  2. Run composer require kalamuna/kalaconfig on your main project.
  3. Run composer install on your main project.
  4. Turn on your local development environment (e.g., vagrant up to use the built-in DrupalVM)
  5. Install Drupal with core "standard" installation profile.
  6. Remove the $settings['install_profile'] = 'standard' line automatically appended to settings.php by the Drupal install process.
  7. Enable this module; it will set up a sane Config Split scheme, automatically export your initial configs, and then uninstall itself.
  8. Commit the newly-exported configuration files to your repository, and push them to origin.
  9. Use the config_installer installation profile to create the sites in all other environments (drush site-install config_installer).

Notes

You may choose not to install dev dependencies in your production/testing/staging environments (recommended) by using composer install --no-dev. However, that means the dependencies brought in by Kalaconfig will be missing in those environments. Therefore, you must remember to copy any dependencies provided by Kalaconfig that are needed in those environments into your main project's composer.json require section., (*5)

The Versions

18/05 2018

1.x-dev

1.9999999.9999999.9999999-dev https://github.com/kalamuna/kalaconfig

Provides a base set of configuration and module dependencies for starting new Drupal projects.

  Sources   Download

GPL-2.0+

The Requires

 

drupal