Git Product home page Git Product logo

aitoralmeida / c4a_data_repository Goto Github PK

View Code? Open in Web Editor NEW
4.0 6.0 2.0 125.61 MB

Common Data Repository for the City4Age project

License: GNU General Public License v3.0

Shell 0.63% Java 47.63% Batchfile 0.07% HTML 8.38% JavaScript 3.72% CSS 0.23% XSLT 0.22% Python 24.49% Makefile 0.10% C 12.14% C++ 2.36% Mako 0.03%
linked-data smart-cities intelligent-environments rdf java python jena d2rq

c4a_data_repository's Introduction

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.

c4a_data_repository's People

Contributors

aitoralmeida avatar dbujan avatar rubenmulero avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

morelab kfiras1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.