oarepo-whitenoise

OArepo module for tracking and updating references in Invenio records


License
MIT
Install
pip install oarepo-whitenoise==2.0.4

Documentation

OArepo whitenoise

This library serves static resources and index.html at runtime using the whitenoise package. This greatly simplifies the deployment as only one image needs to be deployed.

Installation

pip install oarepo-micro-api oarepo-whitenoise

Configuration

This library expects the static files in /whitenoise folder. If they are located elsewhere, set environment variable WHITENOISE_ROOT to the correct location.

Usage

In your wsgi configuration, specify:

[uwsgi]
module = oarepo_whitenoise.wsgi:application
...

as your wsgi entry point.