Configuring and Deploying an Application Using Git in OpenShift 4

15 minutes
  • 3 Learning Objectives

About this Hands-on Lab

Welcome to the lab. Here’s the scenario! You are the OpenShift admin working at the ZLand BioTech firm where you are in charge of supporting the developers in creating an early screening software that is going to revolutionize the industry for tracking symptoms of the dreaded Virus Z-19. This software is vital to the early warning system and tracking of the virus. Your job is to assist the developers in managing and creating the applications that make up the screening and tracking software. Tallahassee has become pretty demanding. He would like you to create a Node.js application that he can use with his Spring-Boot builds. Create the Node.js application called `twinkie` from the provided Git repo. Let’s begin!

> **Note:** This lab is meant to be run on your local environment. This will not work in our Playground or Lab environment currently.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Install CodeReady Containers

Note: If you have taken any of the other labs in the course associated with this lab and have already installed CodeReady Containers, please move on to the next objective. If not, then proceed with this objective.

If you don’t already have a Red Hat login, register at https://www.redhat.com.

  • Make the OpenShift_CRC working directory.
  • Download the version of the OpenShift on CodeReady Containers binary for the operating system version you are running.
  • Install OpenShift on CodeReady Containers.
Lab Setup

Note: If you have taken any of the other labs in the course associated with this lab and have already installed CodeReady Containers and have taken the previous lab, please move on to the next objective. If not, then proceed with this objective.

  • Download the lab_setup_2.sh script from here.
  • Make the script executable.
  • Run the lab_setup_2.sh script.

Note: This may take a few minutes

Create Your Application
  • Make sure the build completes.
  • Once the first builds are done, create the twinkie nodejs application deployment using this Git Repo.
  • Verify your work.

Additional Resources

Note: This lab is meant to be run on your local environment. This will not work in our Playground or Lab environment currently.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!