zenodo / zenodo-rdm

Zenodo, powered by InvenioRDM

Home Page:https://zenodo.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zenodo logo

Deployment instructions

Need to set up the following config variables:

# Invenio-App-RDM
RDM_RECORDS_USER_FIXTURE_PASSWORDS = {
    'admin@inveniosoftware.org': '123456'
}

# Invenio-Records-Resources
SITE_UI_URL = "https://127.0.0.1:5000"
SITE_API_URL = "https://127.0.0.1:5000/api"

# Invenio-RDM-Records
RDM_RECORDS_DOI_DATACITE_USERNAME = ""
RDM_RECORDS_DOI_DATACITE_PASSWORD = ""
RDM_RECORDS_DOI_DATACITE_PREFIX = ""

# Invenio-OAuthclient
# secrets will be injected on deployment
CERN_APP_CREDENTIALS = {
    "consumer_key": "CHANGE ME",
    "consumer_secret": "CHANGE ME",
}
ORCID_APP_CREDENTIALS = {
    "consumer_key": "CHANGE ME",
    "consumer_secret": "CHANGE ME",
}

Development quick start

pip install invenio-cli
invenio-cli check-requirements --development
invenio-cli install
invenio-cli services setup
invenio-cli run

See the InvenioRDM Documentation for further installation options.

Update dependencies

To update dependencies you need to run pipenv lock in the target deployment environment:

# Run the container with x86_64 architecture
docker run -it --platform="linux/amd64" --rm -v $(pwd):/app \
    registry.cern.ch/inveniosoftware/almalinux:1

# Inside the container update the Pipfile.lock
[root@3954486e4a37]# cd /app
[root@3954486e4a37]# pipenv lock

About

Zenodo, powered by InvenioRDM

https://zenodo.org/

License:GNU General Public License v2.0


Languages

Language:Python 79.7%Language:HTML 10.3%Language:JavaScript 6.3%Language:XSLT 2.0%Language:Shell 1.3%Language:Dockerfile 0.3%Language:CSS 0.2%Language:Less 0.1%