Coder Social home page Coder Social logo

jqk6 / iot-framework-engine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ericssonresearch/iot-framework-engine

0.0 0.0 0.0 5.33 MB

License: Apache License 2.0

Dockerfile 0.17% Makefile 1.37% Shell 2.37% Erlang 91.45% JavaScript 0.24% HTML 0.61% Python 3.76% Ruby 0.04%

iot-framework-engine's Introduction

IoT-Framework Engine

The IoT-Framework is a computational engine for the Internet of Things (IoT). It was developed jointly by Ericsson Research, the Swedish Institute of Computer Science (SICS) and Uppsala University in the scope of Project CS 2013. This repository contains the server side of the system, while IoT-Framework-GUI contains the graphical user interface.

There are is an Ericsson Research blog post that gives a brief intro to what the IoT-Framework is and what can be done using it: A computational engine for the Internet of Things

Moreover, there is a publication which describes the inner workings of the engine along with how to measure its performance. This publication has title "Performance Evaluation of an IoT Platform" and can be found here.

Demo

You can check out a demo of the IoT-Framework here: IoT-Framework demo. Please mind that the demo assumes that you are using both the IoT-Framework Engine and the IoT-Framework-GUI.

Installing the project

  1. Download and compile the linux system dependencies, (only needed once per machine)

     make install_linux_deps
    
  2. Download and compile the project dependencies, and compile the project sources

     make install
    

Running the project

  1. Run the application by using startup script (one of the commands below)

     make run_all
    

or

    sudo ./scripts/sensec.sh start
  1. Alternative run (type each in separate shells)

     make run_rabbit
     make run_es
     make run_nodejs
     % don't forget to export R_HOME for example
     export R_HOME="/usr/lib/R"
     make run
    
  2. To shutdown either close each individual shell or run one of the commands below

     make stop_all
    

    or

     sudo ./scripts/sensec.sh stop
    

Running the project via Docker

  1. Retrieve the Dockerfile

  2. Build the docker image

     docker build -t username/image_name:version home_directory
     (or more concretely) docker build -t costa@iot-f:v1 .
    
  3. Run the image

     docker run -p 8080 -dti username/image_name:version 
     (or more concretely) docker run -p -dti costa@iot-f:v1
    
  4. Check if the system is running. This command should show if the system is running properly and also the port mapping that has been made for port 8080.

     docker ps
    

Running tests

  1. There are two ways of setting up the environment for testing. Either run the startup script by one of the below commands.

     make test_setup
     sudo ./scripts/sensec.sh test_setup
    
  2. Or run each of the following commands in a separate shell

     make run_rabbit
     make run_es
     make run_nodejs
     make run_fake_resource
    
  3. Run the tests

     make test
    

Code Status

Build Status

iot-framework-engine's People

Contributors

andreasmh avatar gabrieltholsgard avatar gkoutsou avatar gxlzlihao avatar honnix avatar iakovosk avatar josearias avatar konstantino avatar krewie avatar nikokon avatar qbahers avatar skalra90 avatar steine avatar taddic avatar tosa7943 avatar volt42 avatar

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.