Deploying to Heroku

This page covers Heroku deploys. A Heroku deploy is the ability to deploy a flow created in enebular to an enebular Node-RED on Heroku.

Creating the Flow to Send to Heroku

First, create a new flow from "Assets".

image

Create the flow you want to send to Heroku, and then deploy it to save it.

Deploy Settings

Following that we configure the deploy.

Once the flow has been created, move to the "Deploy" page from the menu at the top.

Select "Heroku" for "Select Connection Type".

After selecting "Heroku", we create a Heroku app from the "Deploy to Heroku" that appears in the right column.

Creating an app with the Heroku Button

Use the Heroku button to create the app. This step can be skipped for those who have already created one.

image

After pressing the Heroku button, log in with the Heroku login screen that appears if you weren't already logged in.

image

The Heroku app settings will be displayed.

image

Set an easy to understand name for the App name.

image

Set the USERNAME and PASSWORD to be used for login after the enebular Node-RED has been created.

image

After confirming the settings press the "Deploy" button. If you haven't added your credit card information to heroku before, the following modal will show up. Please don't worry, you can use this enebular app for free so enter your information.

After registering the credit card, heroku will start setting up the app.

image

The app is being created...

image

Once it has been created press the "View" button to check it.

image

You'll be asked to provide the USERNAME and PASSWORD to log into the enebular Node-RED, so enter those that you set above.

Deploy Settings

Once the Heroku app has been created we configure the deploy settings. Return to the previous screen and continue on with the configuration.

Press "New".

Assign an easy to understand name to the "Connection Name". The "Heroku API Token" can be seen on the Heroku settings screen.

image

Press "Account Settings".

image

Go to "Account" on the "Manage Account" page.

image

Go to the API Key section and display the API Key with "Reveal".

Copy the API Key into "Heroku API Token" and press "Save".

Deploying

With the connection saved and Heroku selected for the "Select Connection Type", a list of the apps on the Heroku account will be displayed.

From here, select the Heroku application you just created and press "Deploy".

After wating for some time "Deploy Added" will be displayed once the deploy has finished.

If you check the Heroku app you will be able to see that the flow has been deployed.

results matching ""

    No results matching ""