From 01ef154829ce7b8fb9741b981e54c7f18bfbc8fd Mon Sep 17 00:00:00 2001 From: Seth Shaw Date: Wed, 9 May 2018 14:21:56 -0700 Subject: [PATCH] add site host option to example drush migrate command Required for the EmitEvent actions to work properly. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b7bb2d6..8c3167b 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Note: using drush with migrate_tools is optional, but the instructions assume it 0. Copy the data directory to your drupal web root (e.g. in my tests the drupal web root is `/var/www/drupalvm/drupal/web` and the data directory is `/var/www/drupalvm/drupal/web/data`). 0. Copy the migrate_cdm and unlv_image directories to your modules directory. 0. Enable the modules. E.g. `drush en -y migrate_tools migrate_apollo`. -0. Run the migration. E.g. `drush mim --all`. *Note: drush must be run by the webserver user because the claw_file migration copies files to the "public://directory". E.g.* `sudo -u www-data drush mim --all` *if you are using vagrant.* +0. Run the migration. E.g. `drush -l http://localhost:8000 mim --all`. *Note: drush must be run by the webserver user because the claw_file migration copies files to the "public://directory". E.g.* `sudo -u www-data drush -l http://localhost:8000 mim --all` *if you are using vagrant.* 0. Generate service images. *Migrate is not triggering context actions. Until we figure out that problem you will need to do it yourself by going to the content page, selecting all the items you migrated, and then use the "Generate a service file from image preservation master". This will trigger both the service image and, as a chain reaction, the thumbnail generation.* 0. See a wonderful list of the newly migrated images on your Drupal site's front page!