Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

A script to setup custom settings files for Drupal 8.

License

Notifications You must be signed in to change notification settings

theodorosploumis/drupal8-settings

Repository files navigation

Drupal 8.x custom settings files

About

A collection of Drupal settings related files to use within your settings.php.

This script is making a project structure like this:

PARENT/
  // Configuration folders
  config/
  // Public files
  files/
  // Custom settings (this repo)
  settings/
  // Drupal files
  your-drupal-folder/

Requirements

  • Apache2
  • (drush)
  • git
  • bash (or sh)

Usage

  1. Clone this repo out of your Drupal root into folder "settings"
git clone git@github.com:theodorosploumis/drupal8-settings.git settings

  1. Initially, run the script. By default you will get a local (dev) environment (no cache, free update access etc)
(sudo) bash settings/enable-settings.sh

  1. To enable live/local mode you need to change variable $mode on settings.php. For example run:
(sudo) sed -i "s|\$mode = 'local'|\$mode = 'live'|" PATH/TO/sites/default/settings.php

About

A script to setup custom settings files for Drupal 8.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published