Skip to content

Commit

Permalink
Merge pull request #83 from ivernus/master
Browse files Browse the repository at this point in the history
Minor change how to use demo file
  • Loading branch information
YousefED committed May 4, 2016
2 parents d584bf8 + 32e1e60 commit 784617a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -13,6 +13,10 @@ The easiest way to get started is to checkout the [demo file][3] (or [jsfiddle][
This file demonstrates a simple use of facets, search and pagination.
Just change 4 fields in the source to match your Elasticsearch setup and mapping.

To use the demo file, create a directory in your Elasticsearch plugins directory
and drop the demo file in a _site subfolder within. The demo file is then accessible
via web browser e.g. http://YOUR_ES_IP/_plugins/demo/demo.html .

_If you are not serving the demo page from Elasticsearch you might have to enable [CORS](http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html) and allow requests to Elasticsearch from your host._

**Changing the UI of the widgets in the Demo**
Expand Down

0 comments on commit 784617a

Please sign in to comment.