A backend Cobol service providing a list of products used by the frontend.
-
Use your Kubernetes cluster where your CFEE instance been deployed on.
-
Log in to IBM Cloud, target your Kubernetes cluster. Copy and paste the export command to set the KUBECONFIG environment variable as directed.
ibmcloud login ibmcloud cs cluster-config cluster-name
-
From your terminal, clone the app if you haven't already.
git clone https://github.com/IBM-Cloud/cfee-eirini-storefront
-
cd into the
backend
app.cd backend
-
Copy template.local.env to local.env
-
Set values to match your cluster environment. You can get the details below from the IBM Cloud dashboard under your cluster.
- REGISTRY_URL
- REGISTRY_NAMESPACE
- IMAGE_NAME
- PIPELINE_KUBERNETES_CLUSTER_NAME
-
Build and push the image.
source local.env ./scripts/pipeline-BUILD.sh
-
Edit the app.yaml file, in line 30 update the below three items:
- REGISTRY_URL
- REGISTRY_NAMESPACE
- IMAGE_NAME You have already added these values to the local.env already in step
-
Deploy to your cluster.
-
Done, next deploy the frontend.
If you have any question or doubt, please create an issue.
Licensed under the Apache License, Version 2.0.