-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |