Wednesday, March 11, 2015

Beginners Guide to Creating a One-Click Button to Launch into OpenShift Cloud

So if you have not had your head buried in the sand over the last few months you might have noticed that all of the JBoss BRMS & JBoss BPM Suite demo projects you know and love have been given a new button.

It is time to give you the ultimate beginners guide to launching any project you have into the OpenShift Cloud with just one-click.

This button is the product of a really great project called launch-service and was created by Ryan Jarvinen.

Launch service site helps you generate a button.
Not only did he create the tooling to allow you to define a project to be automatically provisioned into the OpenShift Cloud, but he put together a website to facilitate the generation of your projects button so you can embed this in your projects.

So how does this work?

We will walk you through how to put together a button based on the JBoss BPM workshop, showing you how to setup this in projects one-click button step by step:

  1. go to the Launcher site:
  2. fill in form:
    • service name: bpmworkshop
    • source URL:
    • cartridge runtime: php-5.4
    • choose a light or dark button type, up to you...
    • button text: change to Click to install, watch button preview change
  3. use embed code from either Markdown or HTML, depending on your needs, but for github readme files you can use the Markdown directly.
Click to get started!
This is all you need to generate a button for any of your projects that you want to install into the OpenShift Cloud with just one-click.

How easy is that?