{"id":18480461,"url":"https://github.com/caltechlibrary/caltechdata","last_synced_at":"2025-04-13T05:50:02.826Z","repository":{"id":50406585,"uuid":"495588186","full_name":"caltechlibrary/caltechdata","owner":"caltechlibrary","description":"The CaltechDATA InvenioRDM source code","archived":false,"fork":false,"pushed_at":"2024-09-25T23:03:37.000Z","size":4693,"stargazers_count":8,"open_issues_count":31,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-13T05:49:56.150Z","etag":null,"topics":["data","inveniordm","repository"],"latest_commit_sha":null,"homepage":"https://data.caltech.edu","language":"HTML","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/caltechlibrary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json","zenodo":null}},"created_at":"2022-05-23T22:09:04.000Z","updated_at":"2025-03-05T18:28:27.000Z","dependencies_parsed_at":"2023-12-19T03:31:54.550Z","dependency_job_id":"d3fbf722-d72b-4f90-9ddc-8a2a8d6a56b3","html_url":"https://github.com/caltechlibrary/caltechdata","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"caltechlibrary/template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caltechlibrary%2Fcaltechdata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caltechlibrary%2Fcaltechdata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caltechlibrary%2Fcaltechdata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caltechlibrary%2Fcaltechdata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caltechlibrary","download_url":"https://codeload.github.com/caltechlibrary/caltechdata/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670501,"owners_count":21142901,"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":["data","inveniordm","repository"],"created_at":"2024-11-06T12:19:00.291Z","updated_at":"2025-04-13T05:50:02.800Z","avatar_url":"https://github.com/caltechlibrary.png","language":"HTML","funding_links":[],"categories":["Overlays"],"sub_categories":[],"readme":"# CaltechDATA\n\nThis is the source repsository for CaltechDATA, Caltech's Institutional Data\nand Software Repository. It is an instance of the [InvenioRDM repository\nplatform](https://inveniosoftware.org/products/rdm/).\n\n[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg?color=orange)](https://choosealicense.com/licenses/bsd-3-clause)\n[![Latest release](https://img.shields.io/github/v/release/caltechlibrary/caltechdata.svg?color=b44e88)](https://github.com/caltechlibrary/caltechdata/releases)\n\n\n\n## Table of contents\n\n* [Introduction](#introduction)\n* [Installation](#installation)\n* [Usage](#usage)\n* [Known issues and limitations](#known-issues-and-limitations)\n* [Getting help](#getting-help)\n* [Contributing](#contributing)\n* [License](#license)\n* [Authors and history](#authors-and-history)\n* [Acknowledgments](#authors-and-acknowledgments)\n\n\n## Introduction\n\nThis repository was initialized following [the InvenioRDM\ninstructions/](https://inveniordm.docs.cern.ch/install/). It was then\ncustomized to meet the needs of the Caltech community. This is only one\ndeployment example, and may or not be appropriate for your specific\ninstitution and IT setup. \n\n## Installation\n\nWe currently deploy CaltechDATA on a m6i.xlarge AWS EC2 instance with Ubuntu\n20.04. We use this [cloud-init\nfile](https://github.com/caltechlibrary/cloud-init-examples/blob/main/caltechdata-init.yaml)\nto do most of the initial setup.\n\n### Install NVM\n\nWe haven't gotten NVM to install with cloud-init. Run `curl -o-\nhttps://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash`, then\nreboot and type `nvm install 14`\n\n### Install InvenioRDM\n\nClone this repository into /Sites, then go to that directory\n\n```\ninvenio-cli install\ninvenio-cli services setup --no-demo-data\n```\n\nYou'll need to add .env file to the repository directory, which includes secrets:\n\n```\nINVENIO_DATACITE_PASSWORD=\nINVENIO_SECRET_KEY=\nINVENIO_S3_ACCESS_KEY_ID=\nINVENIO_S3_SECRET_ACCESS_KEY=\nFLASK_ENV=\nINVENIO_LOGGING_CONSOLE_LEVEL=\nINVENIO_MAIL_PASSWORD=\n```\n\nThis configuration uses S3 for storage. You need to change the bucket name with\n\n`pipenv run invenio files location s3-default s3://caltechdata --default`\n\nYou can load the funders vocabulary with\n\n```\nwget https://zenodo.org/record/7038913/files/v1.5-2022-08-31-ror-data.zip?download=1 -O ror.zip\npipenv run invenio vocabularies import --vocabulary funders --origin \"/Sites/caltechdata/ror.zip\"\n```\n\nWe have a local CaltechPEOPLE list, which is loaded with\n\n```\npipenv run invenio vocabularies import --vocabulary names --filepath ./vocabularies-future.yaml\n```\n\n### Domain Configuration\n\nYou'll need a domain name, and set an A record to point the domain name to your\nAWS instance.\n\nMove nginx.conf to `/etc/nginx/sites-enabled/default`\n\nCopy redirect-map.conf to `/etc/nginx/`\n\nGet a certificate with `sudo certbot --nginx`\n\nRestart nginx with `sudo service nginx restart`\n\n### Systemctl\n\nWe need three services to run InvenioRDM. Set them up with\n\n```\nsudo cp rdm_rest.service /etc/systemd/system/.\nsudo cp rdm.service /etc/systemd/system/.\nsudo cp rdm_celery.service /etc/systemd/system/.\nsudo systemctl daemon-reload\nsudo systemctl start rdm\nsudo systemctl start rdm_rest\nsudo systemctl start rdm_celery\n```\n\nYou should now have a InvenioRDM repository fully running!\n\n## Usage\n\n### Stopping InvenioRDM\n\n```\ncd /Sites/caltechdata\nsudo systemctl stop nginx\nsudo systemctl stop rdm\nsudo systemctl stop rdm_rest\nsudo systemctl stop rdm_celery\ninvenio-cli services stop\n```\n\n### Starting InvenioRDM\n\n```\ncd /Sites/caltechdata\ninvenio-cli services start\n# Make sure there are no errors in the invenio-saml install\nsudo systemctl start rdm_celery\nsudo systemctl start rdm_rest\nsudo systemctl start rdm\nsudo systemctl start nginx\n```\n\n## Known issues and limitations\n\nThese insttallation instructions are intended for this specific Caltech\ndeployment, and you may need to modify them to work for your specific\nconfiguration.\n\n## Getting help\n\nPlease open an issue or pull request if you notice any problems or have\nquestions.\n\n## Contributing\n\nPlease see our [Contributing\nguidelines](https://github.com/caltechlibrary/caltechdata/blob/main/CONTRIBUTING.md)\n\n## License\n\nSoftware produced by the Caltech Library is Copyright © 2022 California Institute of Technology.  This software is freely distributed under a BSD/MIT type license.  Please see the [LICENSE](LICENSE) file for more information.\n\n\n## Authors and history\n\nTom Morrell led the CaltechDATA InvenioRDM development. Tommy Keswick did all\nthe themeing and site design. Robert Doiel implemented the Shibboleth login.\nMike Hucka worked on the GitHub integration. TUGraz and all the other\nInvenioRDM partners were instrumental in getting all the customizations\nworking.\n\n## Acknowledgments\n\nThis work was funded by the California Institute of Technology Library.\n\n\n\u003cdiv align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://www.caltech.edu\"\u003e\n    \u003cimg width=\"100\" height=\"100\" src=\"https://raw.githubusercontent.com/caltechlibrary/template/main/.graphics/caltech-round.png\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaltechlibrary%2Fcaltechdata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaltechlibrary%2Fcaltechdata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaltechlibrary%2Fcaltechdata/lists"}