Skip to content

j0hj0h/oerworldmap

 
 

Repository files navigation

Open Educational Resources (OER) World Map

Travis CI

For inital background information about this project please refer to the Request for Proposals.

Setup project

Get Source

$ git clone [email protected]:hbz/oerworldmap.git
$ git submodule init
$ git submodule update

Setup Elasticsearch

$ 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.

Configure elasticsearch

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.

Create and configure oerworldmap index (as specified in es.index.app.name in conf/application.conf)

$ 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

Setup Play! Application

Download sbt, then

$ sbt run

Contribute

Coding conventions

Indent blocks by two spaces and wrap lines at 100 characters. For more details, refer to the Google Java Style Guide.

Bug reports

Please file bugs as an issue labeled "Bug" here. Include browser information and screenshot(s) when applicable.

About

OER World Map

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 61.2%
  • JavaScript 14.9%
  • HTML 12.8%
  • CSS 7.9%
  • Python 2.7%
  • Scala 0.5%