Skip to content

Commit

Permalink
Merge pull request seth-shaw-unlv#5 from seth-shaw-unlv/content-model…
Browse files Browse the repository at this point in the history
…ing-overhaul

add site host option to example drush migrate command
  • Loading branch information
seth-shaw-unlv authored May 9, 2018
2 parents 353c56c + eed5438 commit 36ec80d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ 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. Index in Fedora & Triple-store; Generate service images. *Migrate is not triggering context actions. [Until we figure out that problem](https://github.com/seth-shaw-unlv/claw-migrate-files-poc/issues/4) you will need to do it yourself by going to the content page, selecting all the items you migrated, and then use the "Action" drop-down list to select which action to perform. Fortunately, the "Generate a service file" also triggers the thumbnail generation. Unfortunately, we can't do this same step for indexing the master images in Fedora or the triple-store because the media tab doesn't have the actions drop-down.*
0. Publish the newly migrated items. *By default this content type does not publish new items to make finding them in the previous step easier.*
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. *Still addressing issues with service file generation. 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!

# Combining People and Subject entities in a single column
Expand Down

0 comments on commit 36ec80d

Please sign in to comment.