Add requirements.txt in the example (#644)
This commit is contained in:
committed by
Honza Král
parent
392aedda5d
commit
0eba1bf2c1
+3
-1
@@ -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.
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
GitPython
|
||||
python-dateutil
|
||||
Reference in New Issue
Block a user