Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanst committed Feb 7, 2018
1 parent 28dcc99 commit 502f431
Showing 1 changed file with 25 additions and 16 deletions.
41 changes: 25 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@

Quickstart
-------------
Open your docker terminal and execute following command:

``docker run -it -p 1880:1880 -v ~/cumulocity:/usr/cumulocity --name mynodered nodered/node-red-docker``

This will start a plain vanilla node-red instance in docker. Make sure this project is checked out inside the ``~/cumulocity`` folder.

Next build the node package by issuing the following command:

``docker exec -u root -it mynodered npm install /usr/cumulocity/node-red-i8c-cumulocity/ && docker restart mynodered``

Now open a browser and point it to following url: ``http://<your docker host>:1880``

Now your good to go. In the pallette you should find the Cumulocity specific functions.
Project Overview
-------------
This project contains the source code and examples of the [node-red-contrib-i8c-cumulocity package](https://www.npmjs.com/package/node-red-contrib-i8c-cumulocity).

It contains nodes for [Node-RED](https://nodered.org/) that allows you to easily integrate your device with the [Cumulocity IoT platform](https://www.cumulocity.com).

Docker Quickstart
-------------
Open your docker terminal and execute following command:

``docker run -it -p 1880:1880 -v ~/cumulocity:/usr/cumulocity --name mynodered nodered/node-red-docker``

This will start a plain vanilla node-red instance in docker. Make sure this project is checked out inside the ``~/cumulocity`` folder.

Next build the node package by issuing the following command:

``docker exec -u root -it mynodered npm install /usr/cumulocity/node-red-i8c-cumulocity/ && docker restart mynodered``

Now open a browser and point it to following url: ``http://<your docker host>:1880``

Now your good to go. In the pallette you should find the Cumulocity specific functions.

Android Quickstart
-------------
Follow our blog on [i8c.com](http://www.i8c.be/) and check examples.

0 comments on commit 502f431

Please sign in to comment.