Skip to content

Commit

Permalink
UDCSL #175 - Updating README.md to include instructions for rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
dleadbetter committed Feb 22, 2023
1 parent 0ace996 commit f19b05e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,13 @@ TripleEyeEffable.configure do |config|
end

```

## Resource Transfer

The `triple-eye-effable` gem comes packages with a rake task to assist with managing data. Let's say you want to pull a backup of your application's staging or production environment locally to test. You can easily restore the database, however all of the IIIF resources are still on the staging or production IIIF Cloud instance.

The following rake task will allow for "pulling" the resources and uploading them to another IIIF Cloud instance (either hosted locally, or somewhere else):

```shell
bundle exec rake triple_eye_effable:transfer_resources -- --api-key <YOUR_API_KEY> --api-url <SOURCE_IIIF_CLOUD_URL> --project-id <YOUR_PROJECT_ID>
```

0 comments on commit f19b05e

Please sign in to comment.