Your rules will appear here
\nAt the moment you haven\'t created any rules. You can make one by\n clicking here.
\n- \n
- \n {{rule.ruleConfig.name}}\n \n \n \n \n \n\n \n
diff --git a/README.md b/README.md index 84d0fe75..d8dc0036 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,17 @@ git push origin my-changes-heroku # https://heroku.com/deploy?template=https://github.com/my-github-user/simulator/tree/my-changes-heroku ``` +#### Updating Data-Flow Dependencies (habanero) + +Since [data flow](https://www.npmjs.com/package/node-red-habanero) is a seperate application, to obtain updates from that repository, you can run the following commands to force a rebuild, +replacing `my-changes-heroku` with the branch of the simulator you are using. + +```sh +heroku config:set NODE_MODULES_CACHE=false +git commit -am 'disable node_modules cache force rebuild' --allow-empty +git push heroku my-changes-heroku:master --force +``` + ### Developer Scripts There are a handful of npm scripts to aid in development. diff --git a/app.json b/app.json index 4ea1cd88..b45d306d 100644 --- a/app.json +++ b/app.json @@ -14,7 +14,7 @@ "xively:test", "heroku-postgresql:hobby-dev", "heroku-redis:hobby-dev", - "cloudinary:starter" + "herokuconnect:demo" ], "scripts": { "postdeploy": "npm run provision" diff --git a/client/app/common/devices.service.js b/client/app/common/devices.service.js index f0fc43a5..172c0bd8 100644 --- a/client/app/common/devices.service.js +++ b/client/app/common/devices.service.js @@ -84,9 +84,9 @@ function devicesFactory ($log, $http, $q, mqttService, blueprintService, timeser /** * Get devices from Blueprint and subscribe for MQTT updates * @return {Promise} - */ + */ getDevices () { - return blueprintService.getV1('devices', { pageSize: 100 }) + return blueprintService.getV1('devices', { pageSize: 1000 }) .then((response) => response.data.devices.results) .then((devices) => { devices.forEach((device) => this.addDevice(device)) diff --git a/client/app/devices/device-demo.route.js b/client/app/devices/device-demo.route.js index 4bc28d08..7a2f9764 100644 --- a/client/app/devices/device-demo.route.js +++ b/client/app/devices/device-demo.route.js @@ -111,7 +111,7 @@ function deviceDemoRoute ($stateProvider) { -
form = {{user | json}}\n\t master = {{master | json}}\n\t This renders because the controller does not fail to\n\t instantiate, by using explicit annotation style (see\n\t script.js for details)\n\t
\n\tThis renders because the controller does not fail to\n\t instantiate, by using explicit annotation style\n\t (see script.js for details)\n\t
\n\tThe controller could not be instantiated, due to relying\n\t on automatic function annotations (which are disabled in\n\t strict mode). As such, the content of this section is not\n\t interpolated, and there should be an error in your web console.\n\t
\n\tCached Values
\n\tCache Info
\n\t