caltechdata

The CaltechDATA InvenioRDM source code

https://github.com/caltechlibrary/caltechdata

Science Score: 62.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
    Organization caltechlibrary has institutional domain (www.library.caltech.edu)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.5%) to scientific vocabulary

Keywords

data inveniordm repository
Last synced: 4 months ago · JSON representation ·

Repository

The CaltechDATA InvenioRDM source code

Basic Info
  • Host: GitHub
  • Owner: caltechlibrary
  • License: other
  • Language: HTML
  • Default Branch: main
  • Homepage: https://data.caltech.edu
  • Size: 4.48 MB
Statistics
  • Stars: 8
  • Watchers: 5
  • Forks: 2
  • Open Issues: 31
  • Releases: 4
Topics
data inveniordm repository
Created over 3 years ago · Last pushed over 1 year ago
Metadata Files
Readme Contributing License Code of conduct Citation Codemeta

README.md

CaltechDATA

This is the source repsository for CaltechDATA, Caltech's Institutional Data and Software Repository. It is an instance of the InvenioRDM repository platform.

License Latest release

Table of contents

Introduction

This repository was initialized following the InvenioRDM instructions/. It was then customized to meet the needs of the Caltech community. This is only one deployment example, and may or not be appropriate for your specific institution and IT setup.

Installation

We currently deploy CaltechDATA on a m6i.xlarge AWS EC2 instance with Ubuntu 20.04. We use this cloud-init file to do most of the initial setup.

Install NVM

We haven't gotten NVM to install with cloud-init. Run curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash, then reboot and type nvm install 14

Install InvenioRDM

Clone this repository into /Sites, then go to that directory

invenio-cli install invenio-cli services setup --no-demo-data

You'll need to add .env file to the repository directory, which includes secrets:

INVENIO_DATACITE_PASSWORD= INVENIO_SECRET_KEY= INVENIO_S3_ACCESS_KEY_ID= INVENIO_S3_SECRET_ACCESS_KEY= FLASK_ENV= INVENIO_LOGGING_CONSOLE_LEVEL= INVENIO_MAIL_PASSWORD=

This configuration uses S3 for storage. You need to change the bucket name with

pipenv run invenio files location s3-default s3://caltechdata --default

You can load the funders vocabulary with

wget https://zenodo.org/record/7038913/files/v1.5-2022-08-31-ror-data.zip?download=1 -O ror.zip pipenv run invenio vocabularies import --vocabulary funders --origin "/Sites/caltechdata/ror.zip"

We have a local CaltechPEOPLE list, which is loaded with

pipenv run invenio vocabularies import --vocabulary names --filepath ./vocabularies-future.yaml

Domain Configuration

You'll need a domain name, and set an A record to point the domain name to your AWS instance.

Move nginx.conf to /etc/nginx/sites-enabled/default

Copy redirect-map.conf to /etc/nginx/

Get a certificate with sudo certbot --nginx

Restart nginx with sudo service nginx restart

Systemctl

We need three services to run InvenioRDM. Set them up with

sudo cp rdm_rest.service /etc/systemd/system/. sudo cp rdm.service /etc/systemd/system/. sudo cp rdm_celery.service /etc/systemd/system/. sudo systemctl daemon-reload sudo systemctl start rdm sudo systemctl start rdm_rest sudo systemctl start rdm_celery

You should now have a InvenioRDM repository fully running!

Usage

Stopping InvenioRDM

cd /Sites/caltechdata sudo systemctl stop nginx sudo systemctl stop rdm sudo systemctl stop rdm_rest sudo systemctl stop rdm_celery invenio-cli services stop

Starting InvenioRDM

``` cd /Sites/caltechdata invenio-cli services start

Make sure there are no errors in the invenio-saml install

sudo systemctl start rdmcelery sudo systemctl start rdmrest sudo systemctl start rdm sudo systemctl start nginx ```

Known issues and limitations

These insttallation instructions are intended for this specific Caltech deployment, and you may need to modify them to work for your specific configuration.

Getting help

Please open an issue or pull request if you notice any problems or have questions.

Contributing

Please see our Contributing guidelines

License

Software 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 file for more information.

Authors and history

Tom Morrell led the CaltechDATA InvenioRDM development. Tommy Keswick did all the themeing and site design. Robert Doiel implemented the Shibboleth login. Mike Hucka worked on the GitHub integration. TUGraz and all the other InvenioRDM partners were instrumental in getting all the customizations working.

Acknowledgments

This work was funded by the California Institute of Technology Library.


Owner

  • Name: Caltech Library
  • Login: caltechlibrary
  • Kind: organization
  • Email: helpdesk@library.caltech.edu
  • Location: Pasadena, CA 91125

We manage the physical and digital holdings of the California Institute of Technology, provide services and training, and develop open-source software.

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
title: CaltechDATA Repository
authors:
  - family-names: Morrell
    given-names: Thomas E.
    orcid: https://orcid.org/0000-0001-9266-5146
  - family-names: Keswick
    given-names: Tommy
    orcid: https://orcid.org/0000-0001-5644-440X
  - family-names: Doiel
    given-names: Robert
    orcid: https://orcid.org/0000-0003-0900-6903
  - family-names: Hucka
    given-names: Michael
    orcid: https://orcid.org/0000-0001-9105-5960
abstract: InvenioRDM source for CaltechDATA Repository
repository-code: "https://github.com/caltechlibrary/caltechdata"
type: software
version: 1.0.2
license-url: "https://github.com/caltechlibrary/caltechdata/blob/main/LICENSE"
keywords:
  - InvenioRDM
  - Institutional
  - Repository
date-released: 2022-09-21

CodeMeta (codemeta.json)

{
  "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
  "@type": "SoftwareSourceCode",
  "author": [
    {
      "@id": "https://orcid.org/0000-0001-9266-5146",
      "@type": "Person",
      "affiliation": {
        "@type": "Organization",
        "name": "Caltech Library"
      },
      "familyName": "Morrell",
      "givenName": "Thomas E."
    },
    {
      "@id": "https://orcid.org/0000-0001-5644-440X",
      "@type": "Person",
      "affiliation": {
        "@type": "Organization",
        "name": "Caltech Library"
      },
      "familyName": "Keswick",
      "givenName": "Tommy"
    },
    {
      "@id": "https://orcid.org/0000-0003-0900-6903",
      "@type": "Person",
      "affiliation": {
        "@type": "Organization",
        "name": "Caltech Library"
      },
      "familyName": "Doiel",
      "givenName": "Robert"
    },
    {
      "@id": "https://orcid.org/0000-0001-9105-5960",
      "@type": "Person",
      "affiliation": {
        "@type": "Organization",
        "name": "Caltech Library"
      },
      "familyName": "Hucka",
      "givenName": "Michael"
    }
  ],
  "issueTracker": "https://github.com/caltechlibrary/caltechdata/issues",
  "license": "https://github.com/caltechlibrary/caltechdata/blob/main/LICENSE",
  "developmentStatus": "active",
  "downloadUrl": "https://github.com/caltechlibrary/caltechdata/archive/main.zip",
  "codeRepository": "https://github.com/caltechlibrary/caltechdata",
  "datePublished": "2022-09-21",
  "keywords": [
    "InvenioRDM",
    "Institutional",
    "Repository"
  ],
  "name": "CaltechDATA Repository",
  "description": "InvenioRDM source for CaltechDATA Repository",
  "version": "1.0.2",
  "maintainer": "https://orcid.org/0000-0001-9266-5146",
  "funder": [
    {
      "@id": "https://doi.org/10.13039/100006961",
      "@type": "Organization",
      "name": "Caltech Library"
    }
  ]
}

GitHub Events

Total
  • Issues event: 2
  • Watch event: 2
Last Year
  • Issues event: 2
  • Watch event: 2

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 67
  • Total pull requests: 13
  • Average time to close issues: 3 months
  • Average time to close pull requests: about 6 hours
  • Total issue authors: 3
  • Total pull request authors: 2
  • Average comments per issue: 0.4
  • Average comments per pull request: 0.0
  • Merged pull requests: 11
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • tmorrell (65)
  • rsdoiel (2)
  • mhucka (1)
Pull Request Authors
  • tmorrell (12)
  • t4k (1)
Top Labels
Issue Labels
CaltechDATA (57) InvenioRDM (2) help wanted (1) v12 (1)
Pull Request Labels

Dependencies

Pipfile pypi
  • check-manifest >=0.25 develop
  • invenio-app-rdm ~=9.1.0
  • uwsgi >=2.0
  • uwsgi-tools >=1.1.1
  • uwsgitop >=0.11
Pipfile.lock pypi
  • 236 dependencies
.github/workflows/codemeta2cff.yml actions
  • EndBug/add-and-commit v7 composite
  • actions/checkout v2 composite
  • caltechlibrary/codemeta2cff main composite
Dockerfile docker
  • inveniosoftware/centos8-python 3.8 build
docker/nginx/Dockerfile docker
  • nginx latest build
docker-compose.yml docker