Skip to content

morelab/c4a_data_repository

 
 

Repository files navigation

README

City4Age Project's (H2020 grant agreement number 689731) LinkedData and RestAPI servers.

This repository contains two projects.

  1. LinkedDataInterface: An interface to infer new statements using a RuleEngine Reasoner and to serve it with SPARQL, Linked Data client or HTML endpoints.
  2. RestApiInterface: A REST API interface to manage some user personal information in a PostgreSQL relational database.

For more information, please read each project README.

There are other folders containing more information for installation purposes.

Requirements

To install this project you need the following requirements.

  1. A local machine with Ubuntu 16.04 GNU/Linux distribution,
  2. Python 2.7.
  3. Python Fabric.
  4. A proper server configured with Ubuntu Server 16.04 GNU/Linux distribution.

Installation

To install the entire project please follow this steps.

  1. Cd to fabfile.py
  2. Edit env.hosts and env.user in fabfile.py with your favourite editor:
    1. env.host : Array of server hosts. Put here your destination(s) server(s)
    2. env.user : User to login in.
  3. Save and exit
  4. Run:
        fab fabfile.py
    to see all available commands.
  5. Run:
        fab main_install
    To install entire project

Additional important notes

All needed dependencies for the project are installed automatically. The user does not need to bother about this issue. However, here is a complete list of project dependencies and some advices:

  • Python 2.7
  • Python-dev (2.7)
  • PostgreSQL 9.5
  • PostgreSQL Server Dev
  • Virtualenv for Python 2.7
  • Build-essential (gc++ compiler, fakeroot.....)
  • Nginx
  • OpenJDK-8 (JRE and JDK
  • Tomcat 8
  • uWSGI

You must provide a ssh password to establish connection to the server and run some sudo commands.

In some steps, application may ask some things such as ssl keys generation, d2rq mapping.tll file verification or rules verification.

The installation scripts installs the projects under /opt path.

License

This project is licensed under the terms of the GPL v3 license.

About

Common Data Repository for the City4Age project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 47.7%
  • Python 24.5%
  • C 12.1%
  • HTML 8.4%
  • JavaScript 3.7%
  • C++ 2.4%
  • Other 1.2%