From 3148c2caccd1477cf1ceaa240a0883b6b367ecf7 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 2 Oct 2017 22:13:10 +0200 Subject: Expanded install --- Install.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/Install.md b/Install.md index 9cb4d21..7be5e33 100644 --- a/Install.md +++ b/Install.md @@ -3,4 +3,35 @@ We use software by the [Nordlys][] group. The installation instructions are [here](http://nordlys.readthedocs.io/en/latest/installation.html). +For now, we don't work on the full dataset so we use step 3.1B, **not** 3.1A. + +Concretely, the following needs to be done: + +```bash +# Requirements +apt install mongodb +service mongodb start + +# Nordlys repo +git clone https://github.com/iai-group/nordlys.git +cd nordlys + +# Install python code +pip install -r requirements.txt + +# Load data +./scripts/load_mongo_dumps.sh +``` + +If you get encoding errors, you may need to change `python` to `python3` in +the scripts in `./scripts`. + +After this, the documentation claims that the following should work: + +```bash +./scripts/build_dbpedia_index.sh +``` + +However, that currently yields connection errors as port 9002 is closed. + [Nordlys]: http://nordlys.cc/ -- cgit v1.2.3