Skip to content

Commit 77049a1

Browse files
committed
documentation
1 parent d566bf7 commit 77049a1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ You also need ElasticSearch:
4747
You then run
4848

4949
elasticsearch -f
50+
51+
Before running the play application for the first time, you need to create the percolation index:
52+
53+
curl -XPUT localhost:9200/queries
5054

5155
And inside the application folder:
5256

tutorial/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ <h2>Setup</h2>
1919

2020
<code>elasticsearch -f</code>
2121

22+
<p>Then, before running the play application for the first time, you need to create the percolation index in ElasticSearch:</p>:
23+
24+
<code>curl -XPUT localhost:9200/queries</code>
25+
2226
<p>Twitter API consumer key and access token are required to consume the <a href="http://dev.twitter.com/docs/streaming-apis" target="_blank">Twitter Streaming API</a>. You need to <a href="https://dev.twitter.com/apps" target="_blank">create a Twitter application</a> and store keys and secrets in a twitter.conf file, using the
2327
commented out section in the
2428
<a href="https://github.com/matthiasn/BirdWatch/blob/master/conf/application.conf" target="_blank">application.conf</a> as a template. </p>

0 commit comments

Comments
 (0)