RHTE 2019 Lab - RHMI (Integreatly)
This repository contains a Solution Pattern that's compatible with the Integreatly Solution Explorer.
Local Development
Setup
Setup requires installation of Node.js 10 or later. This enables a Git hook that verifies the asciidoc content and walkthrough config.
git clone https://github.com/evanshortiss/rhte-2019-rhmi-lab-walkthrough
cd rhte-2019-rhmi-lab-walkthrough
npm install
Running the Server
# Clone the Solution Explorer
git clone https://github.com/integr8ly/tutorial-web-app
# Clone this lab in the same directory as the Solution Explorer
git clone https://github.com/evanshortiss/rhte-2019-rhmi-lab-walkthrough
# Set WALKTHROUGH_LOCATIONS variable the Solution Explorer needs
export WALKTHROUGH_LOCATIONS=$(pwd)/rhte-2019-rhmi-lab-walkthrough/walkthroughs
# Start the Solution Explorer at http://localhost:3006
cd tutorial-web-app
yarn install
yarn start:dev
Deployment to an RHMI Cluster
- Sign in as
admin
to the cluster. - Open the
Solution Explorer
project. - Navigate to
Resources > Other Resources
using the side menu. - Choose
Web App
in the dropdown. - Choose
Actions > Edit YAML
fortutorial-web-app-operator
in the list. - Under
spec.template.parameters
(this block will also containOPENSHIFT_HOST
and some other variables) add the following:
WALKTHROUGH_LOCATIONS: 'https://github.com/integr8ly/tutorial-web-app-walkthroughs#v1.6.4,https://github.com/evanshortiss/rhte-2019-rhmi-lab-walkthrough.git'