An environment for authoring and playing simulated clinical cases.
-
basics - Contains examples of basic technologies used in the project. Each technology is addressed by a directory. This direct has only learning purposes, i.e., it does not contain any code of the system.
-
binder - Binder environment setup, as you can launch Jupyter under Binder to test some aspects of this project. In the previous version, the authoring environment was implemented under Jupyter; in the current version, the Jupyter is used to run examples in the [basics] directory.
-
data - Data sources that support the development and execution of clinical cases. Examples: ontologies (e.g., MeSH); Zombie Health support data.
-
notebook - Main directory, it contains the code of the whole notebook (client and server). This directory is detailed at: Notebook README.
-
player-interface - Design essays of the player interface.
The link below starts the authoring environment running in our cloud
Make sure you have Docker and docker-compose installed, then start the container directly:
sudo docker run -it -p 80:80 -p 8888:8888 datasci4health/case-notebook
Or via docker-compose:
sudo docker-compose --url https://github.com/datasci4health/case-notebook/blob/master/docker-compose.yml up
After starting the container, got to http://localhost/author/author.html to see the authoring environment.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Instructions to install Jupyter and Case Notebook in your machine:
sudo apt-get update
sudo apt-get install python3-pip
pip3 install jupyter
Jupyter will be probably installed in the following directory;
~/.local/
~/git/case-notebook/
pip3 install SPARQLWrapper
pip3 install ipywidgets
sudo ~/.local/bin/jupyter nbextension enable --py widgetsnbextension
pip3 install jupyter_kernel_gateway
cp -r ~/git/case-notebook/nbextensions/notebook/case-notebook ~/.local/share/jupyter/nbextensions
sudo ~/.local/bin/jupyter nbextension install ~/.local/share/jupyter/nbextensions/case-notebook/
sudo ~/.local/bin/jupyter nbextension enable case-notebook/main
~/.local/bin/jupyter notebook
Install latest version of Python 3. It comes with PIP3. For python 3.7, it will be probably be installed in the following directory:
C:\Program Files\Python37
Considering that Python is in your PATH (and consequently PIP3), open a terminal as admnistrator and type:
pip3 install jupyter
/Users/<User>/git/case-notebook
Considering that Python is in your PATH (and consequently Jupyter), type the following commands to install the libraries:
pip3 install SPARQLWrapper
pip3 install ipywidgets
sudo ~/.local/bin/jupyter nbextension enable --py widgetsnbextension
pip3 install jupyter_kernel_gateway
xcopy C:\Users\<User>\git\case-notebook\notebook\nbextensions\* "C:\Program Files\Python37\share\jupyter\nbextensions" /s
jupyter nbextension install "C:\Program Files\Python37\share\jupyter\nbextensions\case-notebook"
jupyter nbextension enable "C:\Program Files\Python37\share\jupyter\nbextensions\case-notebook\main"
jupyter notebook