Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Latest commit

 

History

History
47 lines (31 loc) · 1.35 KB

README.rst

File metadata and controls

47 lines (31 loc) · 1.35 KB

The DataShed Annotations

ARCHIVED

The underlying annotator library has been inactive for some years. See Apache Annotator for a contemporary, open equivalent.

django-annotations

Forked from django-annotations . Django implementation of annotatorjs Storage.

Implements most of the methods as per the Core Storage API documentation (root, index, create, read, update, delete and search).

To see a working demo:

virtualenv annotatorjs
cd annotatorjs
source bin/activate
git clone https://github.com/PsypherPunk/django-annotations.git
cd django-annotations
pip install -r requirements/base.txt
./manage.py migrate
./manage.py runserver

A demo. page will then be available at /demo.

enqueue

Simply accepts a HTTP POST to /enqueue, passing the request body onto an RQ worker. The worked should be started via:

./manage.py rqworker default

The worker itself is configured via the RQ_QUEUES settings in annotator.settings.base.