From 73d272ffe8954b3169901eda74428bad3d2740fe Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 19 Oct 2015 21:53:49 +0200 Subject: o Adding aggregation tables. o Adding migration scripts for the schema. --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a9a7f6a..092fba3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,16 @@ -# MQTT Topics +# Getting started + + npm install + +Create a database user and database called 'diller' with the password 'diller' and run: + + ./node_modules/.bin/db-migrate up + +Run Diller: + + node diller.js | node_modules/.bin/bunyan + +# MQTT topics /diller / @@ -12,4 +24,4 @@ mosquitto_pub -h trygvis.io -t /diller/aa:bb:cc:dd:ee:ff/property/temp-0/value -m 12.3 mosquitto_pub -h trygvis.io -t /diller/aa:bb:cc:dd:ee:ff/property/temp-0/name -m Bathroom - mosquitto_pub -h trygvis.io -t /diller/aa:bb:cc:dd:ee:ff/property/temp-0/description -m "Second Floot" + mosquitto_pub -h trygvis.io -t /diller/aa:bb:cc:dd:ee:ff/property/temp-0/description -m "Second Floor" -- cgit v1.2.3