The Sistema de Monitoramento de Insumos of the Universidade de Brasília (SMI-UnB), is a web application developed to assist in the monitoring and management of Universidade de Brasília's power consumption and distribution.
The idea is to monitor, collect and display data of each campus power supply, allowing a much better comprehension of the usage patterns and energy quality received from the distribution station.
The system is divided into three main layers:
- the presentation layer, which holds the front-end of the application, including the dashboard for researchers.
- the master layer, which is responsible for all the data management, data processing, and database redundancy.
- the slave layer is responsible for the communication with energy transductors and data collection.
Instal Yarn using this link, and:
yarn installyarn startyarn lintyarn buildFirst install Docker following the instructions according to your Operational System, here.
After installing Docker, you can install Docker-Compose, also according to your Operational System here.
If you have already lifted up SMI Slave's API. All you have to do is:
sudo docker-compose upIf you haven't you must create the docker network needed for Master to connect. As:
sudo docker network create smi-networkand you can lift up you Master environment with:
sudo docker-compose upAnd, that's it! You have SMI up and running!