Skip to content
Snippets Groups Projects
user avatar
Colton Leekley-Winslow authored
d6e11f63
History

Build Status Coverage Status Code Climate

SciTran – Scientific Transparency

Overview

SciTran Core is a RESTful HTTP API, written in Python and backed by MongoDB. It is the central component of the SciTran data management system. Its purpose is to enable scientific transparency through secure data management and reproducible processing.

Documentation

Contributing

Testing

License

Usage

Currently Python 2 Only

OSX

$ ./bin/run-dev-osx.sh --help
Run a development instance of scitran-core
 Also starts mongo on port 9001 by default

 Usage:

 -C, --config-file <shell-script>: Source a shell script to set environemnt variables
 -I, --no-install: Do not attempt install the application first
 -R, --reload <interval>: Enable live reload, specifying interval in seconds
 -T, --no-testdata: do not bootstrap testdata
 -U, --no-user: do not bootstrap users and groups

Note: For the best experience, please upgrade bash using

brew install bash bash-completion
sudo dscl . -create /Users/$(whoami) UserShell /usr/local/bin/bash

Ubuntu

mkvirtualenv scitran-core
./bin/install-ubuntu.sh
uwsgi --http :8080 --master --wsgi-file bin/api.wsgi -H $VIRTUAL_ENV \
    --env SCITRAN_PERSISTENT_DB_URI="mongodb://localhost:27017/scitran-core"