Built using the LocalGov Drupal distribution.
Use DDEV.
- Clone this repository.
- Run
ddev start
in the project root. - Run
ddev composer install
to install the project dependencies. ddev import-db --src=path/to/20YYMMYY_ecc_intranet_dev.sql.gz
ddev drush deploy
ddev drush uli
The DDEV config.yaml
file is configured with the requirements for local development and provides an approximate
equivalent to what is used in production.
Once again, DDEV has the details configured for NGINX for local development.
ddev drush en stage_file_proxy -y && ddev drush cset stage_file_proxy.settings origin '<https://intranet.essex.gov.uk>' -y
- ENVIRONMENT - environment name (ddev, dev, pre, prod)
- FATHOM_ID - Fathom Analytics site id
- OPENID_CONNECT_PARAMS - OpenID Connect parameters