Skip to content

Content for Red Hat's Developer Experience (DevEx) workshop Quarkus Lab. Documentation for the lab can be found in workshop4.

Notifications You must be signed in to change notification settings

SionArtingstall/quarkus-lab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

Quarkus Lab OCP

Table of Contents

  • Introduction
  • Environment Prerequisites
  • Setup

Introduction

Current maintainer: Ally Kouao [email protected]

Original content can be found at RedHat-Middleware-Workshop / Quarkus Workshop

This workshop is an introduction to the capabilities of Quarkus; supersonic, subatomic container-native Java, and forms part of the Developer Experience (DevEx) workshops. The workshop uses Red Hat CodeReady Workspaces to develop a simple Quarkus apps, and covers a few developr topics such as:

  • Dependency Injection
  • Building Native Quarkus Apps
  • Documenting and Testing APIs

Environment Prequisities

Assumes you have a running OpenShift 4 cluster and have:

If you not have OCP4 cluster then please proceed to https://try.openshift.com to get one installed and configured before proceeding to next section.

Setup

  1. Clone this repository into your local directory

  2. Copy the stack.imagestream.yaml file fom the stack branch into your (now cloned) project directory

  3. Log on to your OpenShift console as a cluster admin from your terminal (recommended). You will occasionally require your UI console in later steps.

  4. Create a project called codeready

$ oc new-project codeready
  1. Ensure that you are on Administrator view on your browser console.

  2. Install CodeReady Workspaces and navigate to the CodeReady Workspaces URL (Skip step 1.1.1, though - you created a project already!)

  3. Enter the following commands to import the quarkus stack image

$ oc create -n openshift -f stack.imagestream.yaml
$ oc import-image --all quarkus-stack -n openshift
  1. Switch to Developer view on your UI console, to check that the codeready workspace operator has been deployed.

  2. Once deployed, open the 'Codeready' URL.

  3. Register if you have not already, and log in.

  4. You will now create a Quarkus workspace for you to use. Select the Custom Workspace tab.

  5. In the Workspace Name field, enter quarkus-lab as the workspace name.

  6. In the devfile section, select the 'URL of devfile' field and enter the following devfile URL:

https://raw.githubusercontent.com/akouao/quarkus-lab/devfile/devfile.yaml

  1. Hit the Load devfile button to ensure that the configuration is loaded.

  2. Your configuration is all set. Wait for 2-3 minutes for your workspace to load, and look forward to Quarkus wow-ing you!

About

Content for Red Hat's Developer Experience (DevEx) workshop Quarkus Lab. Documentation for the lab can be found in workshop4.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 78.9%
  • Java 21.1%