Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 945 Bytes

README.md

File metadata and controls

42 lines (34 loc) · 945 Bytes

Banner

Required Software

  • Git
  • NodeJs
  • npm
  • python

Installing

$ git clone https://github.com/excentis/ByteBlower_dashboard2.git
$ cd ByteBlower-dashboard2
$ npm start

npm start will set NODE_ENV to production and run the server

before npm start a hook will be executed named 'prestart' this will install all packages and create the build environment.

Using the project

updating dashboards

Client Side

$ cd src
$ nano/vim app.js

Then add this code to the Grid Tags in the file:

     <Meter roomName="<<VENDOR NAME>>" socket={socket}/>

Also add an image of the vendor to the public/images folder with name "logo_<>.png"

Script Side

$ cd byteblower-poller
$ nano/vim poller.py

Change the IP address at the top CTRL+F for 'vendors' and read comments

Dashboard

excentis_dashboard