diff options
Diffstat (limited to 'Install.md')
-rw-r--r-- | Install.md | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/Install.md b/Install.md deleted file mode 100644 index 212b0cc..0000000 --- a/Install.md +++ /dev/null @@ -1,45 +0,0 @@ -# Installation instructions - -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`. - -Now we need elasticsearch and build the index: - -```bash -wget -qO- https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.3.4/elasticsearch-2.3.4.tar.gz | tar xzv -cd elasticsearch*/bin -./elasticsearch -``` - -And in an other shell: - -```bash -./scripts/build_dbpedia_index.sh -``` - -However, that currently only adds 97 documents which does not seem reasonable. - -[Nordlys]: http://nordlys.cc/ |