-
Notifications
You must be signed in to change notification settings - Fork 6
Running locally
jamesH edited this page Sep 13, 2017
·
4 revisions
Grow-IoT can be easily run on a local network. For this to work your server must be on the same network as your devices.
Simply get the IP address of your server and when you connect a device using the connect()
method of Grow.js pass in a config object with a host
property like so:
const example = new Grow({});
example.connect({
host: 'YOUR_SERVER_IP_ADDRESS_HERE'
});
Installation:
$ curl https://install.meteor.com/ | sh
$ git clone https://github.com/CommonGarden/Grow-IoT
$ cd Grow-IoT
$ meteor npm install
$ meteor
then...
- register user (webUI)
- add device (webUI)