Starting from source code, you will take an application that runs locally and deploy it in the Developer Sandbox for Red Hat OpenShift. This lab consists of three parts:
- Set up your environment and run the application locally, then build a container for the front end and deploy it to OpenShift.
- Deploy the back end and connect it to the front end using environment variables, then add a health check.
- Deploy a database and connect everything together, then deploy a new microservice from an existing container.
Note: See the DevNation Tech Talk OpenShift Developer Sandbox: Kicking the tires for a video guide to this deployment.
What you need to know
- GitHub download for macOS
- GitHub download for Microsoft Windows
- GitHub download for Fedora (Linux)
- Install Podman for your operating system
Note: If you are using Docker instead of Podman, you can substitute “docker” for “podman” in every command in this learning path.
What you’ll be doing
- Setting up an environment
- Running an application locally
- Building a container and deploying it to Red Hat OpenShift
- Deploying the back end and connecting it to the front end
- Deploying a database and a microservice
How long will this lesson take?
- Expect to take 60 to 90 minutes to complete this learning path.