Sign inSign up

openneuro/datalad-service

By openneuro

•Updated 4 days ago

OpenNeuro's backend datalad container

Image
0

10K+

openneuro/datalad-service repository overview

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

Tag summary

Content type

Image

Digest

sha256:e09cf281c…

Size

352.3 MB

Last updated

4 days ago

docker pull openneuro/datalad-service:v5.7.1