- (X/L/_)Ubuntu LTS x86_64 >= 14.04.5
- MySql 14.14
- Python 2.7.x
- Eelasticsearch 1.7.2
- Python libraries: Flask, elasticsearch, Flask-mysql
pip install flask
pip install flask-mysql
pip install elasticsearch
Create a database with the name of your choice
Specify a login, a password and a database name in database_identifiers.json
To create the tables needed, do:
source creationDB.sql
To insert data, use the commande below:
python insertion.py
To install elasticsearch follow step 1, 2 of this tutorial
To create elasticsearch index and put data to ES server, do:
python indexES.py
Launch ES server:
sudo service elasticsearch start
To start the server, do:
python app.py
To display a site, open a web browser and type in the adress bar:
http://127.0.0.1:5000/
You can shut down the server by typing CTRL+C