Small improvements in indexing

This commit is contained in:
simon
2018-04-24 08:49:12 -04:00
parent 213cc61da9
commit fe52ecceff
6 changed files with 39 additions and 16 deletions

View File

@@ -2,21 +2,34 @@
Work in progress: probably won't work without some tweaking
## Running on linux
## Setup on Windows
```bash
git clone https://github.com/simon987/Projet-Web-2018
cd Projet-Web-2018
```
[Download latest elasticsearch version](https://www.elastic.co/downloads/elasticsearch) and extract to `Projet-Web-2018\elasticsearch`
```bash
sudo pip3 install -r requirements.txt
python3 run.py
```
## Setup on Mac/linux
```bash
git clone https://github.com/simon987/Projet-Web-2018
cd Projet-Web-2018
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.2.4.zip
unzip elasticsearch-6.2.4.zip
rm elasticsearch-6.2.4.zip
mv elasticsearch-6.2.4 elasticsearch
mv elasticsearch-6.2.4 elasticsearch
sudo pip3 install -r requirements.txt
sudo pip3 install -r requirements.txt
python3 run.py
```
## Running tests
```
python3 -m unittest discover
## Running unit tests
```bash
python3 -m unittest
```