A wrapper for deploying Node-RED into the IBM Cloud platform.
IBM Cloud is an implementation of IBM's Open Cloud Architecture, built on Cloud Foundry.
To sign-up for a free trial, head on over here.
This repository provides two things.
-
a wrapper to Node-RED that is suitable for deploying your own instance into IBM Cloud - under the
public/app
directory -
a node.js application that serves this up as a quick-start boilerplate into the IBM Cloud dashboard.
The quick way to do this is to log into the IBM Cloud dashboard and select Node-RED Starter from the list of Boilerplates.
To manually deploy an instance, the steps can be taken.
This assumes you already have the cf
tool installed and logged into IBM Cloud.
-
Decide what you want to call your application. For this example, let's go with
nr-fred
. -
Via the IBM Cloud dashboard, create an instance of Cloudant NoSQL DB called:
nr-fred:cloudantNoSQLDB
-
Create the file
public/app/manifest.yml
, with the following contents, updated to reflect your chosen name:--- applications: - name: nr-fred memory: 256M command: node node_modules/node-red/red.js --settings ./bluemix-settings.js services: - nr-fred:cloudantNoSQLDB
-
From within the
public/app
directory, run:$ cf push
-
Once deployed, you can access your instance of Node-RED at https://nr-fred.ng.bluemix.net.