{"id":13558186,"url":"https://github.com/pulibrary/pulmap","last_synced_at":"2025-10-29T01:06:32.757Z","repository":{"id":23092886,"uuid":"26446857","full_name":"pulibrary/pulmap","owner":"pulibrary","description":"Princeton University Library Geoblacklight application.","archived":false,"fork":false,"pushed_at":"2025-03-18T13:08:41.000Z","size":22663,"stargazers_count":8,"open_issues_count":101,"forks_count":2,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-03-28T21:20:04.047Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pulibrary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2014-11-10T17:20:37.000Z","updated_at":"2025-03-18T13:08:51.000Z","dependencies_parsed_at":"2023-10-12T04:14:41.813Z","dependency_job_id":"70c8aad2-ae85-49f4-8adc-11892d7a34dd","html_url":"https://github.com/pulibrary/pulmap","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/pulibrary%2Fpulmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulibrary%2Fpulmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulibrary%2Fpulmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulibrary%2Fpulmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pulibrary","download_url":"https://codeload.github.com/pulibrary/pulmap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249091310,"owners_count":21211328,"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":[],"created_at":"2024-08-01T12:04:47.994Z","updated_at":"2025-10-29T01:06:27.719Z","avatar_url":"https://github.com/pulibrary.png","language":"Ruby","readme":"Pulmap\n======\n\nGeoBlacklight for Princeton University Library\n\n[![CircleCI](https://circleci.com/gh/pulibrary/pulmap.svg?style=svg)](https://circleci.com/gh/pulibrary/pulmap)\n[![Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen)](https://github.com/pulibrary/pulmap)\n\n\n### Initial Setup\n```sh\ngit clone https://github.com/pulibrary/pulmap.git\ncd pulmap\nbundle install\nyarn install\n```\n\n### Setup server\n\n1. Install Lando DMG from https://github.com/lando/lando/releases\n1. To start: `rake servers:start`\n1. For test:\n   - `bundle exec rspec`\n1. For development:\n   - `rails s`\n   - Access Pulmap at http://localhost:3000/\n1. To stop: `rake servers:stop` or `lando stop`\n\n### Reindex from figgy\n\nThe reindex is triggered on the figgy side.\n\n## Production\n```\n$ ssh deploy@figgy-worker-prod1\n$ tmux new -t [yourname]\n$ cd /opt/figgy/current\n$ BULK=true bundle exec rails c\n\u003e GeoResourceReindexer.reindex_geoblacklight\n```\n\n## Staging\n```\n$ ssh deploy@figgy-web-staging1\n$ tmux new -t [yourname]\n$ cd /opt/figgy/current\n$ BULK=true bundle exec rails c\n\u003e GeoResourceReindexer.reindex_geoblacklight\n```\n\nIt takes a few minutes to get all the complete georesources. Then it invokes the\nupdated event on each, which sends them to rabbitmq.\n\nThen you'll start to see output like \"Indexed into GeoBlacklight:...\"\n\nWe usually run this overnight.\n\n### Auto-update from external services\n\nPulmap can listen for events published on a RabbitMQ fanout exhange. In order to use them, do the\nfollowing:\n\n1. Configure the `events` settings in `config/pulmap.yml`\n2. Run `WORKERS=GeoblacklightEventHandler rake sneakers:run`\n\nThis will subscribe pulmap to the events and update geoblacklight records when they're\ncreated, updated, or deleted.\n","funding_links":[],"categories":["Ruby","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpulibrary%2Fpulmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpulibrary%2Fpulmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpulibrary%2Fpulmap/lists"}