Infrastructure Provider (InP) Register

my Atom_name does THIS TO BE COMPLETED ....

Getting started

prerequiseb>

Note : The instructions assume that you have already installed Docker and Docker Compose.

Running it then should be as simple as:

With Makefile

Generate docker images

1
~# make image

Start container on local docker-engine

1
~#$ make run Port=<port>

Check instance of container docker

1
~# sudo docker ps

Visualize the logs

1
~# docker logs <container_id>

With docker-compose

Once you've cloned the project to your host we can now start the InP register service.

Run the following commands from this directory

1
2
~# cd service
~# docker-compose up --build -d

The docker-compose command will create the images and then link them together based on the information inside the docker-compose.yml file. This will create ports, links between containers, and configure applications as requrired.

After the command completes we can now view the status of our stack

1
~# docker-compose ps

understanding tail the logs of the stack to watch what happens each time you access your web services.

1
~# docker-compose logs

Screenshots

  • Home Page Screenshot of home view

  • Register Page for the new Infrastructure Provider Screenshot of InP Register  view

  • Visualize the state of InP resource available Screenshot of Ressource View

Project Struture

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
├── AUTHORS.md
├── CONTRIBUTING.md
├── docker-compose.yml
├── docs
│   ├── InfraProviderRegister_implementation.md
│   ├── InfraProviderRegister.md
│   └── media
├── LICENSE.md
├── Makefile
├── metadata.json
├── README.md
├── service
│   └── docker-compose.yml
└── src
    ├── db
    ├── inp-front-end
    └── mqtt-broker