Skip to content

hardwario/hardwario-playground

Repository files navigation

HARDWARIO Logo

Hardwario Playground app

Build status Release License Twitter

This repository contains Playground application.

Contains

  • NodeRED instance
  • NodeRED Dashboard
  • MQTT logger
  • MQTT broker
  • TOWER Gateway for USB Dongle
  • HARDWARIO Blockly
  • Firmware flasher

Contributing

Feel free to contribute to this application.

Development

Commands

Meaning Command
Development server npm run dev
Production server npm run prod
Package app npm run package

Install (not fully tested)

Node.js v8.x:

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs


sudo npm install npm -g


sudo apt install node-gyp




sudo npm install node-pre-gyp -g
sudo npm install electron-packager -g
sudo npm install -g electron --unsafe-perm=true --allow-root
sudo npm install -g serialport --unsafe-perm=true --allow-root
npm install

In case install of serialport fails, run this script (Ubuntu 16.04) https://gist.github.com/katopz/8b766a5cb0ca96c816658e9407e83d00

Made with ❤  by HARDWARIO a.s. in the heart of Europe.