Skip to content
jm2garrido edited this page May 13, 2014 · 2 revisions

Installation of Linked Data Manager

The linked data manager has two different elements:

  • The web service server. This component can be used to search in the Linked Data network. The interface is a set of web services. It is a jar running in a Tomcat.
  • The feed generator. The feed generator is a program that search periodically in the Linked Data Network and offers the results as a feed.

Installation of web service server from binary jar

The jar can be installed in Tomcat from the GUI as any other jar deployment.

This service can run standalone, it doesn't need the "feed generator". It can be deployed outside the Edge Node.

Installation of the "feed generator"

The "feed generator" is a python program. It needs:

Providing all this, the "feed generator" can be run as

python feed_generator.py &

Configuration of the "feed generator"

The feed generator is configured by lmd_feed_generator.ini file. The file is self-documented.

#identification of the ldm
id: ldm_search
#IP or name of the couch server containing the feeds, 
#None means that the couchDB is in the same computer as the feed generator
couch_server: None
# name of the feed in the couchDB
couch_database: ldm_feed

# type of the search, we can made 
# type: textual, geo-search
search_type : geo-search
# for: venue, activity
search_for: venue
# Only for geo: square, circle
coord_type: circle

#for geo search:
#coord1 or center
coord1_long: -3.69
coord1_lat: 40.440497
#coord2, only if square
coord2_long: -1.1
coord2_lat: 40.0
# radius in km, for circle
radius: 10

#for textual search:
#keywords
keywords: Santander

#url_base for the jar 
url_base: http://localhost:8080/SMART_LinkedDataManagerREST/rest

# iteration time in seconds. The dynamic is very slow, so it is enough 
# to ask Linked Data network one time every many hours. The 0 means no repetition.
wait_time: 0