Infrastructure Provider (InP) Register implementation notes

Functional View

Module db

Tools

  • mariadb:5.5

Database Architecture Module

This module permits to start and to initialize the database needed in a docker container.

1
2
$ sudo docker build -t easi/easi-db .
$ sudo docker run -p 3306:3306 -v $HOME/easi/mdb55:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=<pwd> --name <name> easi/easi-db

the following figure define the view table of database

Model Database

Module InP-Front-End Module

this modules

Prerequisite Technologies

Linux

  • Node.js - Download and Install Node.js, nodeschool has free node tutorials to get you started. We recommend node-6.x as the preferred node version If you're using ubuntu, this is the preferred repository to use...
1
2
3
$ curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash 
$ sudo apt-get update
$ sudo apt-get install nodejs
  • if you started a database docker as defined above, you dont need to install a mariadb server on youy host
  • Mariadb - Download and Install mariadb and initialize db
1
$ scripts/create_database.js

Prerequisite packages

  • bower
1
$ npm install -g bower

Installation

To start

  1. Download the repository
  2. Install npm modules:
1
$ npm install
  1. Install bower dependencies
1
$ bower install
  1. Start up the server:
1
$ node app
  1. Then, open a browser and go to:
1
http://localhost:3000