Skip to content

The redirection layer for the linked-data-demo project for plants.

Notifications You must be signed in to change notification settings

PBR/linked-data-demo_redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linked-data-demo_redirect

The redirection layer for the linked-data-demo project for plants. It is an intermediate layer for enabling communication between the server hosting the linked data demo website and the server where the data is hosted.

Instructions

  1. Create a folder named LDD_middle_layer under /var/www/, and move the contents of this folder there.
  2. Copy LDD_middle_layer.conf to /etc/apache2/sites-available/.
  3. Make sure flask is installed. This runs on Python 2.7.
  4. Register the wsgi: sudo a2ensite LDD_middle_layer. If this leads to server crash, de-register it with sudo a2dissite LDD_middle_layer.
  5. Reload Apache: sudo service apache2 reload
  6. Test site: https://www.plantbreeding.wur.nl/ld-demonstrator/

Likely to need modification:

  • ServerName in /etc/apache2/sites-available/LDD_middle_layer.conf. This is the hostname where the query is submitted. It is assumed that this is plantbreeding.wur.nl, which should also be in the hosts file. Multiple ServerNames can be declared, each on a separate line.

  • line 12 in __init__.py: base_sparql_url = 'http://snowball:9999/blazegraph/namespace/ldd-demo/sparql' indicating the address of the machine hosting Blazegraph.

About

The redirection layer for the linked-data-demo project for plants.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages