diff --git a/README.md b/README.md index a6a8a99..82ad8d2 100644 --- a/README.md +++ b/README.md @@ -192,17 +192,23 @@ Once you've determined that a site is truly eligible to be migrated, follow thes ## Running migrations from Drupal 7 or UA Quickstart site downloaded from Pantheon, to Drupal 9 Arizona Quickstart site downloaded from Pantheon NOTE: The `lando migrate-setup-from-pantheon` command requires that a site exists on Pantheon, since it uses terminus to find site variables on the source site. +NOTE: Instructions for how to use Lando for local development when contributing general fixes and enhancements to Quickstart (not Pantheon site specific) can be found in the [contributing guide in the main AZ Quickstart repository](https://github.com/az-digital/az_quickstart/blob/main/CONTRIBUTING.md#local-development). -From the parent directory where you want to create your local copy of the **destination** -site on Pantheon. +Create your local copy of the Pantheon **destination** site by initializing Lando inside an *empty* folder: +``` +mkdir +cd +lando init --source pantheon +``` +Or execute the bash commands: ``` -mkdir && cd "$_" +mkdir && cd "$_" lando init --source pantheon ``` This starts the interactive site creation tool that allows you to choose -your destination site from a list of sites created on Pantheon. +your destination site from a list of sites created on Pantheon. Select the site you are working on from the dropdown. The next step is to start lando. After which you can go to one of the listed URLs upon success @@ -281,26 +287,26 @@ lando push -c none -d dev -f dev Open the dev site when the push is complete, and do a spot check ``` -terminus env:view +terminus env:view ``` **Always make a backup if overwriting live** ``` -terminus backup:create +terminus backup:create ``` If all looks good, go ahead and deploy your migration to another environment, overwriting that environment’s database and files. ``` -terminus env:clone-content --cc -y +terminus env:clone-content --cc -y ``` Check the destination site. ``` -terminus env:view +terminus env:view ``` ### Clean up