{"id":21496500,"url":"https://github.com/mlibrary/alma-events","last_synced_at":"2025-03-17T12:16:02.142Z","repository":{"id":37951018,"uuid":"344130780","full_name":"mlibrary/alma-events","owner":"mlibrary","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-07T14:18:10.000Z","size":631,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-23T21:53:12.434Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mlibrary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2021-03-03T13:11:09.000Z","updated_at":"2024-11-07T14:17:43.000Z","dependencies_parsed_at":"2024-03-06T15:43:08.067Z","dependency_job_id":"f5a7d27b-70d1-4470-a131-1fa438b40165","html_url":"https://github.com/mlibrary/alma-events","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlibrary%2Falma-events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlibrary%2Falma-events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlibrary%2Falma-events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlibrary%2Falma-events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlibrary","download_url":"https://codeload.github.com/mlibrary/alma-events/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244031154,"owners_count":20386534,"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-11-23T16:16:45.766Z","updated_at":"2025-03-17T12:16:02.058Z","avatar_url":"https://github.com/mlibrary.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alma Webhook\n\nA server that listens for webhook posts from Alma.\n\n## Setting up Alma Webhook for development\n\nClone the repo\n\n```\ngit clone git@github.com:mlibrary/alma-events.git\ncd alma-events\n```\n\nbuild web container\n```\ndocker compose build web\n```\n\nbundle install gems to a docker volume\n```\ndocker compose run --rm web bundle install\n```\ngenerate ssh-keys\n```\n./set_up_development_ssh_keys\n```\n\nstart containers\n```\ndocker compose up -d\n```\n\nIn a browser, go to http://localhost:4567 to see the website.\n\n## Running tests\n```\ndocker compose run --rm web bundle exec rspec\n```\n\n## Trying out message queue\nWhile in development mode and while the app is `up` one can send a message directly to the message queue by doing the following:\n```\ndocker compose exec web curl -X POST --data-binary \"@PATH_TO_YOUR_MESSAGE_JSON\" localhost:4567/send-dev-webhook-message\n```\n\n# Kubernetes Configuration\nThe Kubernetes deployment configuration lives in in the `environments/alma-events` directory in: \n* [aim-kube](https://github.com/mlibrary/aim-kube)\n* [search-kube](https://github.com/mlibrary/search-kube)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlibrary%2Falma-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlibrary%2Falma-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlibrary%2Falma-events/lists"}