Skip to content
jorgeyp edited this page Nov 17, 2014 · 8 revisions

Before starting to develop with Wesby you need to set the config files to match the needs of your Linked Data endpoint. All the configuration files are inside the conf folder.

endpoint.properties

This file contains the configuration of the SPARQL endpoint

  • sparql.endpoint=http://data.example.org/sparql
    • URL of the SPARQL endpoint
  • sparql.baseuri=http://data.example.org/
    • Domain of the dataset
  • sparql.actualuri=http://localhost:9000/
    • Note that if you use a port other than 9000 you have to launch the application with activator "run <portNumber>"
  • sparql.index=/index/path
    • Path to the index page
  • sparql.expiration=7200
  • portal.title = Title of your website
  • portal.license = License of your website
  • templates.uri = http://localhost:9000/assets/templates/
    • URI to the templates directory

Setting up the cache

For a better performance you should use Memcached, in their website you can find instructions on how to install and configure it. Once you have Memcached up and running you can change the value memcached.host="localhost:11211" in application.conf to match your cache location. If you haven't changed the default "Memcached" installation you can leave it like that.