- Git
- NodeJs
- npm
- python
$ 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.
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