From: rsoulliere Date: Thu, 13 Sep 2012 20:27:17 +0000 (-0400) Subject: Remove html documentation. The assidoc will be enough. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b324802651e0fbd0808ec4697296b03caac6d320;p=contrib%2Fmohawk.git Remove html documentation. The assidoc will be enough. Signed-off-by: rsoulliere --- diff --git a/summon/readme b/summon/readme deleted file mode 100644 index 76433e1..0000000 --- a/summon/readme +++ /dev/null @@ -1,889 +0,0 @@ - - - - - -Evergreen to Summon MARC Export Tool from - - - - - -
-
-
-

Author: Robert Soulliere -Email: rsoulliere@yahoo.com

-
-
-
-

Requirements

-
-
    -
  • -

    -Needs to be run on an server running Evergreen. -

    -
  • -
  • -

    -It should be run as the opensrf user. -

    -
  • -
  • -

    -You will need to know your Evergreen database administrator connection information. -

    -
  • -
-
-
-
-

Installation

-
-
    -
  1. -

    -Copy the summon folder into you opensrf home directory /home/opensrf. -

    -
  2. -
  3. -

    -Ensure that opensrf has execute privileges on /home/opensrf/summon/bib_export_all.sh and /home/opensrf/summon/bib_export_deletes_and_updates.sh. -

    -
  4. -
-
-
-
-

Uploading all bibliographic records into Summon - Initial upload

-
-
    -
  1. -

    -Edit bib_export_all.sh and set variables for your Evergreen database connection. -

    -
  2. -
  3. -

    -Edit your SQL file all_bibs.sql as needed to limit the bib records to be exported into the MARC file. -

    -
  4. -
  5. -

    -Run bib_export_all.sh as opensrf. -

    -
  6. -
  7. -

    -This should create the file /home/opensrf/summon/ExportedBibs.UTF-8.USMARC. -

    -
  8. -
  9. -

    -You may want to ensure the file is in proper format by opening it in a marc editor. -

    -
  10. -
  11. -

    -ftp the file to the Summon ftp server using the credentials and instructions provided by Serials Solutions. -

    -
  12. -
  13. -

    -Check with Serials Solutions techinal contact to ensure that everything looks good and is in the proper format. -

    -
  14. -
-
-
-
-

Uploading Deletes and Updates to Summon

-
-
    -
  1. -

    -Edit bib_export_deletes_and_updates.sh and set the variables for your Evergreen database connection. -

    -
  2. -
  3. -

    -Edit your SQL files deleted_bibs.sql and updated_bibs.sql as needed to limit the bib records to be exported into the MARC file. -

    -
  4. -
  5. -

    -Edit the ftp transfer script: /home/opensrf/summon/ftp_transfer.sh and set the ftp username and password provided by Serials Solution. -

    -
  6. -
  7. -

    -Run bib_export_deletes_and_updates.sh as opensrf. -

    -
  8. -
  9. -

    -New MARC files should be located in /home/opensrf/summon/deletes/deletes and /home/opensrf/summon/deletes/updates. These should - represent the deletes and updates made to bib records on the day you ran the script. The file name should include today’s date. -

    -
  10. -
  11. -

    -Check marc files to ensure format looks good. -

    -
  12. -
  13. -

    -Files should have also been ftp’d automatically to the Summon server. You might want to contact Serials Solutions to ensure it looks good on their end. -

    -
  14. -
  15. -

    -If you encounter any issues, check the log files in /home/opensrf/summon/log to see where problems occurred. -

    -
  16. -
  17. -

    -If all works well, you can set up a cron job to run the bib_export_deletes_and_updates.sh on a nightly basis, before midnight, to upload deletes and updates daily. -

    -
  18. -
-
-
-
-

- - -