For inital background information about this project please refer to the Request for Proposals.
$ git clone [email protected]:hbz/oerworldmap.git
$ git submodule init
$ git submodule update
$ cd third-party
$ wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.6.zip
$ unzip elasticsearch-1.3.6.zip
$ cd elasticsearch-1.3.6
$ bin/elasticsearch
Check with curl -X GET http://localhost:9200/
if all is well.
If you are in an environment where your instance of elasticsearch won't be the only one on the network, you might want
to configure your cluster name to be different from the default elasticsearch
. To do so, shut down elasticsearch and
edit cluster.name
in third-party/elasticsearch-1.3.6/conf/elasticsearch.yml
and es.cluster.name
in conf/application.conf
before restarting.
$ curl -X PUT http://localhost:9200/oerworldmap/ -d @conf/index-config.json
If you're caught with some kind of buggy index during development, simply delete the index and re-create:
$ curl -X DELETE http://localhost:9200/oerworldmap/
$ curl -X PUT http://localhost:9200/oerworldmap/ -d @conf/index-config.json
Optionally, you may want to install the head plugin
$ cd third-party/elasticsearch-1.3.6
$ bin/plugin -install mobz/elasticsearch-head
Download sbt, then
$ sbt run
Indent blocks by two spaces and wrap lines at 100 characters. For more details, refer to the Google Java Style Guide.
Please file bugs as an issue labeled "Bug" here. Include browser information and screenshot(s) when applicable.