Requirements
- Node 8.11.4+
- mongodb
- npm 5.6+
- python 3.6
- Cairo 1.15 (for canvas)
Pull girder submodule
cd label-coach
git submodule update --init --recursiveInstall all girder python dependencies
cd label-coach/girder
pip install -r requirements-dev.txtFor conda environments use environment.yml in the root directory label-coach
conda env create -n label-coach -f environment.yml
# then activate the conda virtual environment
source activate label-coachMake sure you have installed openslide-python. Follow installation instructions for openslide and openslide-python installation here : https://openslide.org/download/
For conda environments use environment.yml in the root directory label-coach
conda env create -n label-coach -f environment.osx.yml
# then activate the conda virtual environment
source activate label-coachWe make use of openslide to support .svs images. To install openslide on OSX you will have to make use of Homebrew
brew install openslideInstall all the npm dependencies inside label_coach dir
cd label-coach/label_coach
npm installInstall plugin into girder. Make sure to provide absolute path to label_coach dir.
girder-install plugin -s /absolute/path/to/label_coachInstall girder web client
sudo service mongod start
girder-install webStart girder server. Below command will start the server on localhost:8080. check girder documentation for more options
girder serveRegister admin account
[Image here]
Enable plugin and restart
[Image here]
Change core_girder route from / to /girder. This setting is found in your Admin console > Server configuration.
Restart the server. You are now all set!
Step 1: Follow the installation instructions above
Step 2: start webpack watch and server on two seperate terminals
girder-install web --watch-plugin label_coach girder serve