Skip to content

carlinmack/zenodo-rdm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zenodo logo

Deployment instructions

Need to set up the following config variables:

# Invenio-App-RDM
RDM_RECORDS_USER_FIXTURE_PASSWORDS = {
    '[email protected]': '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

Releases

No releases published

Packages

 
 
 

Languages

  • Python 78.1%
  • HTML 10.9%
  • JavaScript 7.3%
  • XSLT 1.9%
  • Shell 1.3%
  • Dockerfile 0.2%
  • Other 0.3%