{"id":15255650,"url":"https://github.com/roblib/islandora_fits","last_synced_at":"2025-04-11T22:52:58.504Z","repository":{"id":45657926,"uuid":"181534561","full_name":"roblib/islandora_fits","owner":"roblib","description":"Config module to make Islandora aware of FITS microservice","archived":false,"fork":false,"pushed_at":"2024-04-29T00:56:53.000Z","size":97,"stargazers_count":0,"open_issues_count":4,"forks_count":8,"subscribers_count":6,"default_branch":"8.x-1.x","last_synced_at":"2025-03-25T18:54:03.155Z","etag":null,"topics":["islandora8","rdm-085"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roblib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-15T17:26:32.000Z","updated_at":"2022-07-14T13:24:15.000Z","dependencies_parsed_at":"2024-06-21T19:24:03.997Z","dependency_job_id":"3c6ba756-068a-40bc-9314-f1471304bf2c","html_url":"https://github.com/roblib/islandora_fits","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblib%2Fislandora_fits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblib%2Fislandora_fits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblib%2Fislandora_fits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblib%2Fislandora_fits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roblib","download_url":"https://codeload.github.com/roblib/islandora_fits/tar.gz/refs/heads/8.x-1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248045270,"owners_count":21038557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["islandora8","rdm-085"],"created_at":"2024-09-30T00:06:58.373Z","updated_at":"2025-04-11T22:52:58.485Z","avatar_url":"https://github.com/roblib.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Islandora FITS\nConfig module to make Islandora aware of FITS microservice\n\n## Installation\n#### Install this module\nInstall and enable this module in the usual way.  On installation the module will\nadd a context causing the creation of A FITS media when an Original File media is ingested; however, this process is\npredicated on the existence of an `islandora_media_use` term with an external URI of `https://projects.iq.harvard.\nedu/fits`--the `islandora_fits_tags` migration might be executed to create such a term.\n\n#### Install FITS Webservice\nFITS XMLs are generated from an easily installed web service.\nGet the latest fits.zip and fits.war from https://projects.iq.harvard.edu/fits/downloads\n(on my box I had to install a missing zip library with\n‘sudo apt-get install php7.1-zip’)\n\nInstall following their instructions.\nCopy the `.war` file to your webapps directory and test.\nEdit the `catalina.properties` file on the Drupal server by adding the\nfollowing two lines to the bottom of the file:\n\n```properties\nfits.home=/\\\u003cpath-to-fits\u003e/fits\nshared.loader=/\\\u003cpath-to-fits\u003e/fits/lib/*.jar\n```\n\nRestart Tomcat and test with:\n```bash\ncurl -k -F datafile=\"@/path/to/myfile.jpg\" http://example.com:8080/fits/examine\n```\n(note: the ‘@’ is required.)\n\n#### Installing Microservice\nGet code from https://github.com/roblib/CrayFits and install.  This code can live anywhere, including an external server,\nbut most installations will have it at `/var/www/html`.\n\nThe App runs by entering:\n```bash\nphp bin/console server:start *:8050\n```\nin the App root folder.\nThe server is stopped with:\n```bash\nphp bin/console server:stop\n```\nOn a production machine you'd probably want to configure an additional\nport in Apache.\n\nNote: The location of the FITS webserver is stored in the `.env` file in the\nroot dir of the Symfony app.  This will have to be reconfigured if the FITS\nserver is anywhere other than `localhost:8080/fits`\n\n#### Adding FITs requests to the queue\nCopy the file `assets/ca.islandora.alpaca.connector.ocr.blueprint.xml`\nto `/opt/karak/deploy` on your server.  There is no need to restart.\n\n#### Adding Checksum to Display\nA pseudo field with the computed checksum can be added to Repository Item\ndisplay.  Navigate to `admin/structure/types/manage/islandora_object/display`\nto enable or disable display of `File Checksum`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froblib%2Fislandora_fits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froblib%2Fislandora_fits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froblib%2Fislandora_fits/lists"}