Open Educational Resources (OER) World Map
For inital background information about this project please refer to the Request for Proposals.
$ git clone email@example.com:hbz/oerworldmap.git $ npm install $ git submodule init $ git submodule update
$ cd third-party $ wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-2.4.0.zip $ unzip elasticsearch-2.4.0.zip $ cd elasticsearch-2.4.0 $ bin/plugin install 'http://xbib.org/repository/org/xbib/elasticsearch/plugin/elasticsearch-plugin-bundle/184.108.40.206/elasticsearch-plugin-bundle-220.127.116.11-plugin.zip' $ bin/elasticsearch
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
conf/application.conf before restarting.
Create and configure oerworldmap index (as specified in
$ 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
$ cd third-party/elasticsearch-2.4.0 $ bin/plugin install mobz/elasticsearch-head
Setup Play! Application
Download sbt, then
$ sbt run
Work with IDEs
Using activator, integration to Eclipse and IDEA IntelliJ is provided by running
idea from within activator. To run the OER World Map JUnit tests inside IntelliJ, it is necessary to set the test's working directory to the root directory of this project (i. e.
Run | Edit configurations... | JUnit | <MyTest> | Configuration | Working directory: <absolute/path/to/oerworldmap>
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.
This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com.