lappis-unb / SMI-Front

Front-end of SPA application of SMI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sistema de Monitoramento de Insumos da Universidade de Brasília - S.M.I.

About

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.

Installation

Locally installing

Install the dependencies

Instal Yarn using this link, and:

yarn install

Serve the app in development mode

yarn start

Lint the files

yarn lint

Build the app for production

yarn build

Using Docker

Docker

First install Docker following the instructions according to your Operational System, here.

Docker Compose

After installing Docker, you can install Docker-Compose, also according to your Operational System here.

Runnning SMI Master

If you have already lifted up SMI Slave's API. All you have to do is:

sudo docker-compose up

If you haven't you must create the docker network needed for Master to connect. As:

sudo docker network create smi-network

and you can lift up you Master environment with:

sudo docker-compose up

And, that's it! You have SMI up and running!

About

Front-end of SPA application of SMI

License:GNU General Public License v3.0


Languages

Language:Vue 87.4%Language:JavaScript 11.7%Language:HTML 0.6%Language:CSS 0.3%Language:Dockerfile 0.0%Language:Shell 0.0%