From ee99d9884a14afff7f179d542f648ed688ee93d2 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 27 May 2021 07:08:31 +0100 Subject: [PATCH] Remove old local development documentation [ci skip] Fixes #361 --- README.md | 31 +++++-------------------------- 1 file changed, 5 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index e830365..3b361c9 100644 --- a/README.md +++ b/README.md @@ -38,42 +38,21 @@ Production settings files are generated automatically during a deployment. This ## Local development -Local development is done using [DDEV-Local](https://www.ddev.com/ddev-local). - -### Custom DDEV commands - -#### Drupal - -| Command | Description | -| --- | --- | -| `ddev app install` | Install the site based on the existing config | -| `ddev app refresh` | Re-import the existing config and rebuild cache | - -#### Front-end - -| Command | Description | -| --- | --- | -| `ddev theme build` | Compile a production (minified and purged) version of the theme's CSS and JS | -| `ddev theme dev` | Compile a development version of the theme's CSS and JS | -| `ddev theme install` | Install the node dependencies for the theme | -| `ddev theme ssh` | SSH into the theme directory within the web container | -| `ddev theme watch` | Compile a development version of the theme's CSS and JS, and watch for changes | - -## Migrating data into the website +### Migrating data into the website To view the status of all the migrations: - bin/drush.sh migrate:status + docker-compose exec php drush migrate:status To run all the migrations: - bin/drush.sh migrate:import --all + docker-compose exec php drush migrate:import --all To run all the migrations and update the existing migrated content: - bin/drush.sh migrate:import --all --update + docker-compose exec php drush migrate:import --all --update -## Updating Drupal core +### 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: