Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

OpenNeuroOrg/datalad-service

Repository files navigation

This provides HTTP interfaces for creating, updating, and exporting DataLad datasets, used by OpenNeuro. Underlying Git / DataLad APIs do not allow for concurrent operations in many cases, to solve this each repo is assigned to an exclusive-read queue. Multiple clients accessing one repo requires a higher level API, such as the one implemented in OpenNeuro.

Setup

virtualenv --python python3 .venv
source .venv/bin/activate
pip install -r requirements.txt

You will also need npm or Yarn to install the bids-validator.

yarn

or

npm install

Running

gunicorn --reload "datalad_service.app:create_app('/path-to-repos')"

Tests

pytest