In this exercise, you will configure your development environment to work with 3scale, which runs on OpenShift.
Outcomes
You should be able to:
Log in to your lab environment.
Log in to OpenShift.
Clone the DO240-apps GitHub repository.
As the student user on the workstation machine, use the lab command to prepare your system for this exercise.
[student@workstation ~]$ lab start install-principles
Procedure 1.1. Instructions
Log in to RHOCP.
In a command-line terminal, run the oc login command with the following credentials:
Username: admin
Passsword: redhat
[student@workstation ~]$ oc login -u admin -p redhat api.ocp4.example.com:6443
Login successful.
...output omitted...Clone the DO240-apps GitHub repository.
This repository contains scripts and applications that you will use throughout the course.
Run the git clone command to clone the repository.
[student@workstation ~]$ git clone \
https://github.com/RedHatTraining/DO240-apps.git
...output omitted...To execute the scripts later in the course, grant execution permissions to the files in the scripts directory.
[student@workstation ~]$ chmod +x DO240-apps/scripts/*
...output omitted...This concludes the guided exercise.