You can deploy this setup either locally (Minikube) or in your OpenShift Sandbox by simple issuing:
####Create namespace dev only if you wish to deploy in this namespace. Otherwise you can use the project/namespace you wish
kubectl create ns dev
helm install hangman ./hangman/chart/hangman
Run the following script by specifying the name of the workspace you used to install the previous Helm chart (in this example dev):
sh backend.sh dev
Replace the result in hangman/hangman-fed/values.yaml:
backend:
hostname: a228c16976fb04064b199c95e98fa99d-2097135439.us-east-1.elb.amazonaws.com:8080
Finally run:
helm install hangman-fed ./hangman-fed/chart/hangman-fed
Now access hangman at the URL obtained from:
sh frontend.sh dev