Home

Awesome

GFBio Data Submission and Brokerage System

DOI

Description

The system provides the central entry point for the submission services provided by GFBio e.V. for the long-term data archival and publication of biodiversity, ecology and environmental science data. Users can submit their data to one or more of the GFBio data centers. Submissions can be performed either via a web-based user interface or over a REST API, where the latter is suitable for high-throughput programmatic submissions.

The system requires a working connection to an JIRA Service Management (server/data center) instance, since all communication with the users is organised via JIRA issues.

Developer Guide

Settings

Moved to settings

Basic Commands

Setting Up Your Users

For convenience, you can keep your normal user logged in on Chrome and your superuser logged in on Firefox (or similar), so that you can see how the site behaves for both kinds of users.

Type checks

Running type checks with mypy:

  $ mypy gfbio_submissions

Test coverage

To run the tests, check your test coverage, and generate an HTML coverage report::

$ coverage run -m pytest
$ coverage html
$ open htmlcov/index.html

Running tests with py.test

$ pytest

Live reloading and Sass CSS compilation

Moved to Live reloading and SASS compilation.

Celery

This app comes with Celery.

To run a celery worker:

cd gfbio_submissions
celery -A config.celery_app worker -l info

Please note: For Celery's import magic to work, it is important where the celery commands are run. If you are in the same folder with manage.py, you should be right.

Contact Us

Please email any questions and comments to our Service Helpdesk (info@gfbio.org).