This web application can show off the coolness of the TMR and TMR4I ontologies developed by Veruska Zamborlini in detecting interactions between the recommendations of medical guidelines.
This repository also contains the metis
application that runs with Swish. You can find a separate readme file in that directory.
- Make sure you have docker installed on your system (http://docker.com)
- Open up a terminal window and clone or download this repository to a location of your choice:
git clone https://github.com/Data2Semantics/guidelines.git
- Change into the
guidelines
directory - Download the latest version of Stardog from https://stardog.com
- Copy the zipfile for the latest version of Stardog into this directory (e.g.
stardog-5.0-beta.zip
). - Also copy the
stardog-license-key.bin
file into this directory - From the command line run
docker-compose build
to create the Docker images
- Change into the
guidelines
directory and rundocker-compose up
- Go to
http://localhost:5000
and have fun!
- Make sure you have
pip
andvirtualenv
installed (easy_install pip
,pip install virtualenv
) - Go to the directory in which you cloned this Git repository, and install a virtual environment:
virtualenv .
- Activate the virtual environment:
source bin/activate
- Install the required packages:
pip install -r requirements.txt
- Make sure you have a properly installed Stardog server running, with security disabled (
stardog-admin server start --disable-security
) - Go to the
src
directory, and runcreate-stardog.sh
and thenreset-stardog.sh
- Inside the
src
directory, runpython run.py
- Go to
http://localhost:5000
and have fun!