Skip to content
mdstroop edited this page Jul 25, 2016 · 37 revisions

Welcome to the webinterface-fedict wiki!

With this web application, you can browse in different DCAT datasets. You can filter on the catalog, dataset and distribution. It is possible to use other datasets when you configure your own ldf-server.

Pre-requirements

The following software should be installed:

  • Node.js (NPM)
  • Composer which can be installed after NPM has been installed inside a CMD/Terminal run: npm install composer
  • PHP 7.0
  • For development: XAMPP (recommended) / WAMP (Windows only) or any other Apache variant.

Install commands:

  • sudo apt-get install nodejs
  • npm install composer

Getting started

After cloning this web application, you still have to configure and install dependencies. For using it locally it should be placed in C:\xampp\htdocs

Inside the root (main) folder eg. C:..\webinterface-fedict do the following:

  • npm install
  • composer install

For viewing the website on local machine go on your web-browser to: http://localhost/webinterface-fedict/dist/index.php

Important note: When trying to run on unix environment chmod -R 777 might be needed.

Hosting own ldf-server(optional)

If you want to run your own ldf-server, you'll have to download it from https://www.npmjs.com/package/ldf-server

And configure according to your needs.

Don't forget to change the reference to your own ldf-server inside the code.
For example inside index.twig:
var fragmentsClient = new ldf.FragmentsClient('http://185.14.185.158:5000/triplestore');
Should become: var fragmentsClient = new ldf.FragmentsClient('http://**yourldfservershomepage**');

Clone this wiki locally