codeformuenster/open-events

Name: open-events

Owner: codeformuenster

Description: Freie Termindatenbank inklusive diverse Scraper zum Auslesen von Terminen.

Created: 2015-03-18 18:35:32.0

Updated: 2016-10-23 17:02:55.0

Pushed: 2017-02-07 22:00:51.0

Homepage: http://events.input23.de/

Size: 3155

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Open Events Database

Welcome to the code repository of the Open Event Search Engine (OESE) and Open Events Database project.

We have a fancy project homepage here: http://events.input23.de

Install

If you want to run the Events Database, you only need to install docker and docker-compose.

If you are on a newer Ubuntu Version follow the instructions of: https://gist.github.com/wdullaer/f1af16bd7e970389bad3

Run the Elasticsearch instance and import event data
  1. Start ElasticSearch, Kibana:

    o] docker-compose up -d
    
  2. Setup the elasticsearch index:

    (You only need to do this once before the first run of the event importers)

    lasticserch;./create_index.sh
    
  3. Run the importers to import data into your elasticsearch instance: Check out the directory scripts and run the import engines of your desired regions or event types.

    E.g. for the Münster events this would be:

    cripts
    crapers-muenster
    stall.sh
     muenster-scraper.pl
    
Run the JSON REST API

In order to start it, you just need to docker-compose up and then start the Strongloop Loopback API Server. Check out the details in our detailed readme for strongloop.

Then you can check out the following urls:

Example elasticsearch queries
o location query for events
 -XGET localhost:9200/events/event/_search?pretty=true -d '

     "query" : {
         "match_all" : {}
     },
     "filter" : {
         "geo_distance" : {
             "distance" : "10km",
             "event.location.geo" : {
                 "lat" : "51.96066",
                 "lon" : "7.62613"
             }
         }
     }


Check out the ElasticSearch example queries page

FAQ
Structure Diagram

The architecture of the Sytem is based on the following diagram:

Search Engine System Elements

right side (light blue) = frontend, left side (yellow) = backend


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.