PubNub

IoT Tutorial environment setup

This tutorial will walk you through setting up the sample IoT dashboard, explain the architecture behind the app, and describe how you could use the same principles for your own IoT use cases.  The IoT Dashboard is designed as a canned demo using JavaScript ‘simulators’ to mimic real-world devices but this tutorial will also explain how to add real devices communicating over MQTT.  The IoT dashboard can be found on Github at https://github.com/PubNubDevelopers/iot-dashboard-javascript-demo

1

Prerequisites

Before running this application, be sure you have the following installed:

Download Source Application

In a terminal, navigate to an empty folder.  Enter the following commands to clone the repository and move into the folder:

This step is optional but will ensure that the version of the repository you are using matches the version used to create this tutorial.

Install the app dependencies:

BackNext