A wrapper for deploying node-red into IBM's Codename: BlueMix platform.
This is a work in progress... carry on about your daily business
BlueMix is an implementation of IBM's Open Cloud Architecture, built on Cloud Foundry.
You can find more background information over here. To sign-up for the open beta, head on over here.
This repository provides two things.
-
a wrapper to Node-RED that is suitable for deploying your own instance into BlueMix - under the
public/appdirectory -
a node.js application that serves this up as a quick-start boilerplate into the BlueMix dashboard.
This assumes you already have the cf tool installed and logged into BlueMix.
-
Decide what you want to call your application. For this example, let's go with
nr-fred. -
Via the BlueMix dashboard, create an instance of TimeSeriesDatabase called:
nr-fred:TimeSeriesDatabase -
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:TimeSeriesDatabase -
From within the
public/appdirectory, run:$ cf push -
Once deployed, you can access your instance of Node-RED at https://nr-fred.ng.bluemix.net.