homie-dashboard
v0.5.0
Published
IoT dashboard for Homie devices
Downloads
10
Maintainers
Readme
Contribute
- Install Node.js >= v7.0.0
- Install Yarn (optional, recommended):
npm install -g yarn
- Clone this repository
cd
into it- Install the project dependencies:
- With Yarn (recommended):
yarn install
- Or with npm:
npm install
- With Yarn (recommended):
- Run one of the following scripts:
npm run app-build
: build the Web Application into thedist-app
directorynpm run app-dev
: start a webpack development server, with hot-reloadnpm run server-build
: build the server from an ES2015 syntax to Node.js runnable code in thedist-server
directorynpm run server-dev
: start the server for development with automatic restart on code changesnpm run server-lint
: lint the servernpm run server-serve
: start the compiled version of the server (run from thedist-server
directory)npm run server-test
: test the server
Team stuff
We all code on Windows. Install Mosquitto and run in the context of the repo: dev.bat
. This will start the MQTT broker, the development server and the development Web Application.