Skip to content

Script that builds out a Drupal site with common configurations.

Notifications You must be signed in to change notification settings

cbfannin/drupal-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8f517f8 · May 2, 2022

History

97 Commits
May 2, 2022
Apr 12, 2021
Nov 15, 2021
Feb 16, 2022
Feb 25, 2020
Feb 16, 2022
Feb 21, 2022
Jun 30, 2021
Nov 2, 2021
Nov 2, 2021

Repository files navigation

WAT TEAM DRUPAL BUILD SCRIPT

This script allows you to do an all inclusive install of a Drupal site that uses WAT team environment defaults with options to include commonly used services, modules, and theme.

PREREQUISITES

Docker and Lando are required and their services should be running. If you do not have these installed, start with Lando documentation and it will guide you through the process. https://docs.lando.dev/basics/installation.html

USAGE

  1. Clone this repo to ~/bin/drupal-build.
  2. Run the following command with desired options from the drupal-build directory.

Command and Options

Vanilla Install ./buildit.sh

Options

-d Developer Install Includes common developer modules.
-t Theme Install Includes theme.

Either option used will also install common modules. You can use either option or both options.

Examples
./buildit.sh -d to install developer modules.
./buildit.sh -t to install theme.
./buildit.sh -dt to install developer modules and theme.

READ THIS IF YOUR BUILD IS MEANT FOR PRODUCTION

This script does not yet change the default config sync directory, create and reference the settings.local.php file, nor does it configure caching for local development. If any of these are needed, you will need to manually set these up. The following documentation should walk you through how to do these things.

Changing the storage location of the sync directory: (Note that we use the outside of webroot method)
https://www.drupal.org/docs/8/configuration-management/changing-the-storage-location-of-the-sync-directory

Configure Your Environment for Theme Development: (This documentation will explain settings.local.php and caching configuration.)
https://drupalize.me/tutorial/configure-your-environment-theme-development?p=2512

About

Script that builds out a Drupal site with common configurations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published