The Wayback Machine - https://web.archive.org/web/20201129043516/https://github.com/zenodo/zenodo-rdm
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Zenodo Invenio RDM instance.

Development

To get started you need to have invenio-cli installed (we recommend using pipx to do so).

# Install dependencies
pipenv sync --dev
pipenv run pip install -r requirements-devel.txt

# Build assets
invenio-cli update --install-js

# Start services (DB, ES, etc.). Use the "--force" option to recreate
invenio-cli services

# Run the development server
pipenv shell
export FLASK_ENV=development
invenio run --cert ./docker/nginx/test.crt --key ./docker/nginx/test.key
# In a separate terminal run the Webpack build server
invenio webpack run start

# For using local repositories (e.g. invenio-communities):
# Activate the virtualenv
pipenv shell
# Go to your local repo
cd ~/src/invenio-communities
# Uninstall the dependency
pip uninstall -y invenio-communities
# Install the local source
pip install -e .

Docker images

The repository is setup via GitHub actions to automatically build Docker images:

  • zenodo-rdm:${VERSION} when tags in the format v${VERSION} are pushed
  • zenodo-rdm:latest when the master branch is updated

To manually build the latest image, e.g. in case you update a development dependency, you can trigger a repository dispatch in the following way:

# First, you need a GitHub personal access token with no scopes from
# https://github.com/settings/tokens/new.
read -s GH_TOKEN

curl -H "Accept: application/vnd.github.everest-preview+json" \
    -H "Authorization: token $GH_TOKEN" \
    --request POST \
    --data '{"event_type": "publish-latest"}' \
    https://api.github.com/repos/zenodo/zenodo-rdm/dispatches

About

Zenodo Invenio RDM instance

Resources

License

Releases

No releases published
You can’t perform that action at this time.