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.
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
gunicorn --reload "datalad_service.app:create_app('/path-to-repos')"
pytest