Skip to main content

OArepo module for tracking and updating references in Invenio records

Project description

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.

.. Copyright (C) 2021 Mirek Šimek, VŠCHT Praha.

oarepo-whitenoise is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.

Changes

Version 0.1.0 (released TBD)

  • Initial public release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oarepo-whitenoise-2.0.4.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

oarepo_whitenoise-2.0.4-py2.py3-none-any.whl (5.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file oarepo-whitenoise-2.0.4.tar.gz.

File metadata

  • Download URL: oarepo-whitenoise-2.0.4.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for oarepo-whitenoise-2.0.4.tar.gz
Algorithm Hash digest
SHA256 c69072b1835c6d8410ad7c58265d1f8ad5ba76d591616a66944cefad516860a4
MD5 f02488b2fc32b023f743a05632c8f227
BLAKE2b-256 076af1ddfd993369eedafc675ad948ae0fea3fe8576b83f00e5377d7cb4740be

See more details on using hashes here.

File details

Details for the file oarepo_whitenoise-2.0.4-py2.py3-none-any.whl.

File metadata

  • Download URL: oarepo_whitenoise-2.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for oarepo_whitenoise-2.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d891d76f3a46990cb9a9021fdf9f6c362b66ca55f01a82a01a2e9c53e3cd07ad
MD5 d8b86a4bfb3ec012b969a7c5fa7a6e5d
BLAKE2b-256 b49d5857a7e913caff97f98c5b3fbcb4b712cf5da21efd09d4be41ca74cc5168

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page