Skip to content

Commit

Permalink
added info and updated config.json for elasticsearch false or true
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosp420 committed Apr 9, 2017
1 parent 03321b7 commit 59fc24c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.rst
Expand Up @@ -190,6 +190,10 @@ Exit the virtual environment for now to continue from the shell:
deactivate
**Step 3: download and install elasticsearch.**
Elasticsearch is needed to enable the advanced search tool and auto suggestions. By default, the
elasticsearch is enabled. You can disable it in the `config.json` file by using the key:value
`"ELASTICSEARCH": "false"`. In such case, only the general search will work.

Use elasticsearch versions 1.7.3 or below. The newer versions 2.0+ currently
do not work with VoSeq.
For elasticsearch, java needs to be installed. Mac users can download and install ``elasticsearch`` from here:
Expand Down Expand Up @@ -262,7 +266,8 @@ and write in the following content:
"DB_PORT": "5432",
"DB_HOST": "localhost",
"GOOGLE_MAPS_API_KEY": "get_a_google_map_api_key",
"PHOTOS_REPOSITORY": "local"
"PHOTOS_REPOSITORY": "local",
"ELASTICSEARCH": "true"
}
If you want to host your photos in Flickr you need to change the last parameter
Expand Down
3 changes: 2 additions & 1 deletion provision.sh
Expand Up @@ -86,7 +86,8 @@ if [[ ! -f /vagrant/config.json ]]; then
"DB_PORT": "5432",
"DB_HOST": "localhost",
"GOOGLE_MAPS_API_KEY": "get_a_google_map_api_key",
"PHOTOS_REPOSITORY": "local"
"PHOTOS_REPOSITORY": "local",
"ELASTICSEARCH": "true"
}
' > /vagrant/config.json
fi
Expand Down

0 comments on commit 59fc24c

Please sign in to comment.