Skip to content

lka/MyGarden

Repository files navigation

MyGarden

control a bacnet device that switches garden watering valves on and off

Editing

I use Atom Editor... Configure it with eslint support (install linter-eslint) and substitution of Windows eol to unix style (install line-ending-converter and use LF only). Set in editor configuration TAB to soft-tabs with 2 spaces. add language-babel for the client

Environment

use nvm and install node (32Bits) locally

Installation

get project from github and use

npm install

to install all dependencies

Quick Start

node app.js

Usage

use a modern browser like Google Chrome, Firefox or Edge with

http://localhost:3000

Running the build

npm run build

Test

Test with mocca... install mocha globally and start with

npm run test

npm run testdevice

License

(The MIT License)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

(c) Copyright H.Lischka, 08.10.2017