Skip to content

ll4strw/invenio-irods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Invenio-iRODS

iRODS Storage for InvenioRDM

This extension exposes iRODS data management systems to InvenioRDM apps using the python iRODS client (PRC).

Further documentation is available on

https://docs.irods.org/

https://github.com/irods/python-irodsclient

https://github.com/inveniosoftware/invenio-app-rdm

https://invenio.readthedocs.io/en/latest/documentation/main-concepts/handling-files.html

Installation

Install InvenioRDM as prescribed at https://inveniordm.docs.cern.ch/install/

Download this extension and install it in the same virtual environment the InvenioRDM app is running

pip install .

Edit invenio_irods/config.py and/or the invenio.cfg of your deployment to connect to your iRODS instance (possibly exclude any sensitive information from any files; use environment variables for that), set the default storage location to a suitable iRODS logical path, and start the InvenioRDM app

export INVENIO_IRODS_USER_NAME=irods_username
export INVENIO_IRODS_PASSWORD=irods_passwd
invenio files location irodie irods://zone/home/irods_username  --default
invenio-cli run

Please note that the following two lines must appear in the invenio.cfg file of your deployment

# Invenio-Files-Rest
# ==================
FILES_REST_STORAGE_FACTORY='invenio_irods.irods_storage_factory'
IRODS_MAXIMUM_SIZE_FOR_SINGLE_BUFFER_IN_MEGABYTES=32

About

InvenioRDM extension for an iRODS file storage backend

Topics

Resources

License

Stars

Watchers

Forks

Languages