Skip to content

essexcountycouncil/essex-intranet-drupal

Repository files navigation

Prototype for Essex County Council's Intranet Drupal project

Built using the LocalGov Drupal distribution.

Quick start for local development

Use DDEV.

  1. Clone this repository.
  2. Run ddev start in the project root.
  3. Run ddev composer install to install the project dependencies.
  4. ddev import-db --src=path/to/20YYMMYY_ecc_intranet_dev.sql.gz
  5. ddev drush deploy
  6. ddev drush uli

PHP requirements

The DDEV config.yaml file is configured with the requirements for local development and provides an approximate equivalent to what is used in production.

Web server requirements

Once again, DDEV has the details configured for NGINX for local development.

Import images

ddev drush en stage_file_proxy -y && ddev drush cset stage_file_proxy.settings origin '<https://beta.intranet.essex.gov.uk>' -y

Environment variables

  • ENVIRONMENT - environment name (ddev, dev, pre, prod)
  • FATHOM_ID - Fathom Analytics site id
  • OPENID_CONNECT_PARAMS - OpenID Connect parameters