Skip to content

Commit 0eba1bf

Browse files
iblancasahonzakral
authored andcommitted
Add requirements.txt in the example (elastic#644)
1 parent 392aedd commit 0eba1bf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

example/README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ To run this example make sure you have elasticsearch running on port 9200,
77
install additional dependencies (on top of `elasticsearch-py`)::
88

99
pip install python-dateutil GitPython
10+
or
11+
12+
pip install -r requirements.txt
1013

1114
And now you can load the index (the index will be called `git`)::
1215

@@ -22,4 +25,3 @@ Look at the `queries.py` file for querying example and `load.py` on examples on
2225
loading data into elasticsearch. Both `load` and `queries` set up logging so in
2326
`/tmp/es_trace.log` you will have a transcript of the commands being run in the
2427
curl format.
25-

example/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
GitPython
2+
python-dateutil

0 commit comments

Comments
 (0)