Infrastructure Provider (InP) Register implementation notes
Module db
Database Architecture Module
This module permits to start and to initialize the database needed in a docker container.
| $ 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
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...
| $ 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
| $ scripts/create_database.js
|
Prerequisite packages
Installation
To start
- Download the repository
- Install npm modules:
- Install bower dependencies
- Start up the server:
- Then, open a browser and go to: