From 7facfe5643a78482edfec86dd6efbb814e192487 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Tue, 27 Aug 2019 09:54:54 -0500 Subject: [PATCH] Add directions about cleaning and seeding --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 553f7d449..603e1f7fe 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,18 @@ This will use the HMAC secret to sign the token. It will ask you to submit a val {"invoked_by" => "workflow-service"} ``` +## Seeding the staging environment + +It's possible to clear out and re-seed the staging environment by using the following rake tasks: + +``` +./bin/rake delete_all_objects +./bin/rake seed +``` + +This will load all the FOXML from https://github.com/sul-dlss/dor-services-app/blob/master/lib/tasks/seeds/ + + ## Developer Notes DOR Services App is a Rails app.