Add requirements.txt in the example (#644)

This commit is contained in:
Israel Blancas
2017-08-29 22:39:38 +02:00
committed by Honza Král
parent 392aedda5d
commit 0eba1bf2c1
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -7,6 +7,9 @@ To run this example make sure you have elasticsearch running on port 9200,
install additional dependencies (on top of `elasticsearch-py`)::
pip install python-dateutil GitPython
or
pip install -r requirements.txt
And now you can load the index (the index will be called `git`)::
@@ -22,4 +25,3 @@ Look at the `queries.py` file for querying example and `load.py` on examples on
loading data into elasticsearch. Both `load` and `queries` set up logging so in
`/tmp/es_trace.log` you will have a transcript of the commands being run in the
curl format.
+2
View File
@@ -0,0 +1,2 @@
GitPython
python-dateutil