|
1 | 1 | # Guidelines Demo |
2 | 2 |
|
3 | | -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 |
| 3 | +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. |
4 | 4 |
|
5 | | -## Setup |
| 5 | +This repository also contains the `metis` application that runs with Swish. You can find a separate readme file in that directory. |
| 6 | + |
| 7 | +## Setup (using Docker) |
| 8 | + |
| 9 | +* Make sure you have docker installed on your system (<http://docker.com>) |
| 10 | +* Open up a terminal window and clone or download this repository to a location of your choice: |
| 11 | + |
| 12 | +``` |
| 13 | +git clone https://github.com/Data2Semantics/guidelines.git |
| 14 | +``` |
| 15 | +* Change into the `guidelines` directory |
| 16 | +* Download the latest version of Stardog from <https://stardog.com> |
| 17 | +* Copy the zipfile for the latest version of Stardog into this directory (e.g. `stardog-5.0-beta.zip`). |
| 18 | +* Also copy the `stardog-license-key.bin` file into this directory |
| 19 | +* From the command line run `docker-compose build` to create the Docker images |
| 20 | + |
| 21 | +### Starting (using Docker) |
| 22 | + |
| 23 | +* Change into the `guidelines` directory and run `docker-compose up` |
| 24 | +* Go to `http://localhost:5000` and have fun! |
| 25 | + |
| 26 | +## Setup (from source) |
6 | 27 |
|
7 | 28 | * Make sure you have `pip` and `virtualenv` installed (`easy_install pip`, `pip install virtualenv`) |
8 | 29 | * Go to the directory in which you cloned this Git repository, and install a virtual environment: `virtualenv .` |
9 | 30 | * Activate the virtual environment: `source bin/activate` |
10 | 31 | * Install the required packages: `pip install -r requirements.txt` |
11 | 32 | * Make sure you have a properly installed Stardog server running, with **security disabled** (`stardog-admin server start --disable-security`) |
12 | 33 | * Go to the `src` directory, and run `create-stardog.sh` and then `reset-stardog.sh` |
| 34 | + |
| 35 | +### Starting (from source) |
| 36 | + |
13 | 37 | * Inside the `src` directory, run `python run.py` |
14 | | -* Go to `http://localhost:5000` and have fun! |
| 38 | +* Go to `http://localhost:5000` and have fun! |
0 commit comments