From 8ce62956b485323a665d658f329f0238f0c63a1a Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 26 May 2021 23:29:18 +0100 Subject: [PATCH] Add instruction for updating Drupal core [ci skip] --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index e213441..e830365 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,14 @@ To run all the migrations and update the existing migrated content: bin/drush.sh migrate:import --all --update +## Updating Drupal core + +Updating Drupal core (and anything else) can be done using Composer. As this project is built using the Drupal core recommended project, all of the dependencies need to be updated: + + docker-compose exec php composer update drupal/core-* --with-all-dependencies + +Once this has completed, the updated `composer.lock` file can be committed and pushed. + ## Talks ordering In order to keep the talks page in the correct order, based on when the next time a talk is being given, the `created` date for the talk node is automatically updated on each save to match the date of the most future event for that talk.