TissueHub
TissueHub aspires to be a socially federated storefront for biospecimen repositories of all sizes.
The ultimate vision of TissueHub is the creation of a biospecimen resource with three core constituencies: managers of large biospecimen collections, investigators, and patients (donors). Borrowing the federated storefront model of, e.g., Amazon and extending it with social networking features, the federated biorepositories will serve as a “TissueHub”. This TissueHub will enable the holders of biospecimens to publish their collections and services. Investigators can use TissueHub to discover available specimens as well as opportunities for collaboration with others holding overlapping rare-specimen collections. Finally, TissueHub will allow donors to discover opportunities to contribute to scientific studies, as well as to see the research data and publications derived from these contributions.
The initial prototype of TissueHub is under development as a Meteor app. To start, first install meteor, then:
git clone https://github.com/TissueHub/TissueHub.git
cd TissueHub
meteor
Building
-
Ensure the
TISSUEHUB_VERSION
environment variable in .travis.yml is correct. -
Kick off the build using
make
$ make build
-
Find the built app as
.build/tissuehub.tar.gz
.
Deployment
-
Copy
.build/tissuehub.tar.gz
to the desired location and unpack it. -
Install npm dependencies
$ cd tissuehub/bundle/programs/server $ npm install
-
Start the server
$ cc ../.. # to tissuehub/bundle $ node main.js
Useful Environment Variables
PORT=3001
MONGO_URL=mongodb://localhost/TissueHub
MONGO_OPLOG_URL=mongodb://localhost/local
ROOT_URL="https://tissuehub.org/"
These can be set in the environment, or just prepended to the node main.js
command:
$ PORT=3001 MONGO_URL=mongodb://localhost/TissueHub MONGO_OPLOG_URL=mongodb://localhost/local ROOT_URL="https://tissuehub.org/" node main.js
It is also possible to run meteor without the tests:
$ JASMINE_CLIENT_INTEGRATION=0 JASMINE_CLIENT_UNIT=0 JASMINE_SERVER_INTEGRATION=0 JASMINE_SERVER_UNIT=0 meteor