Home » DevOps » Code Ready Containers – Getting Started with HR Employee Rewards Project in the Cloud

About Eric Schabell

Eric Schabell
Eric D. Schabell is the JBoss technology evangelist for Integration and BPM products at Red Hat. He is a writer, cyclist and software engineer but not always in that order.

Code Ready Containers – Getting Started with HR Employee Rewards Project in the Cloud

Previously posted that I’ve started a refresh of the Red Hat Demo Central collection of AppDev in the Cloud projects by updating the Code Ready Containers Easy Install.

AppDev in Cloud HR Employee Rewards

As it promises, you’ll have a local container platform cluster installed on your personal machine based on OpenShift Container Platform 4.2, in just minutes. The next step is to start leveraging this local container platform cluster for some cloud native development experience, focusing on bringing all the existing content up to date.

This articles outlines getting started with the HR Employee Rewards project on the above installation as default, though you can point this installation to any existing OpenShift Container Platform (pass an IP address).

Let’s take a look at how easy it is to get started with Code Ready Containers HR Employee Rewards Demo.

Anyone spending any time with the content found on Red Hat Demo Central should notice that all projects are designed using a template for consistent installation experiences.

This one is no different and you can follow the same installation steps you would expect in the readme file:

Install on OpenShift Container Platform

There are two options to install and run this project on the OpenShift Container Platform (OCP); use your own existing installation or to install on Code Ready Containers which provides you with a local OCP cluster.

  1. Ensure you have an OpenShift container based installation, such as one of the following:
  1. Download and unzip this demo.
  2. Download Red Hat JBoss EAP & Red Hat Process Automation Manager, add to installs directory (see installs/README).
  3. Run ‘init.sh’ or ‘init.bat’ file. ‘init.bat’ must be run with Administrative privileges:
1
2
3
4
# If using your own installation just point to Openshift Container Platform IP Address
   # as follows:
   #
   $ ./init.sh 192.168.99.100  # example for OCP.
1
<br>
1
<br>
1
2
3
4
5
6
7
8
# If using Code Ready Containers or the Code Ready Containers Easy Install project, just add the cluster
   # address to HOST_IP variable found at the top of the init.{sh|bat} files, for example:
   #
   # HOST_IP=api.crc.testing 
   #
   # Now just run the script without any IP address arguments and it picks up that hostname as follows:
   #
   $ ./init.sh

Log in to the HR Employee Rewards project to start exploring an online employee rewards application (the address will be generated by the init script):

  • Code Ready Container example: http:rhcs-rewards-demo-appdev-in-cloud.apps-crc.testing/business-central ( u:erics / p:redhatpam1! )

Want to build the Rewards demo from scratch? Try this hands-on
online workshop.

Published on Java Code Geeks with permission by Eric Schabell, partner at our JCG program. See the original article here: Code Ready Containers – Getting Started with HR Employee Rewards Project in the Cloud

Opinions expressed by Java Code Geeks contributors are their own.

(0 rating, 0 votes)
You need to be a registered member to rate this.
Start the discussion Views Tweet it!
Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
6. Spring Interview Questions
7. Android UI Design
and many more ....
I agree to the Terms and Privacy Policy

Leave a Reply

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of