openshift-labs / learn-katacoda

The OpenShift learning portal, powered by Katacoda
https://learn.openshift.com
159 stars 266 forks source link

OpenShift learning on Katacoda

This is the content that appears on learn.openshift.com. If you have any questions raise an issue here.

Contributions

First, you want to fork this repo and sign up at Katacoda with your GitHub handle.

For each scenario, please do the following:

  1. Work on the scenario, try it out in your own environment https://www.katacoda.com/$GITHUBHANDLE
  2. When you're satisfied, send in a pull request mentioning the issue you created in the first step.
  3. Next, get two reviews/thumbs up from team members (mention @btannous or @jdob on your issue if you don't see activity within a couple of days)
  4. Once your scenario has been reviewed, we will merge it and it will appear on learn.openshift.com

Delivering a workshop?

IMPORTANT: If you are delivering a workshop please ensure that you have alerted the Katacoda team a minimum of 48 hours before the start of the event, but ideally a full week ahead of time. Without this, we cannot guarantee capacity for everyone. If you are a Red Hat employee who needs to schedule a workshop using the learn.openshift.com scenarios, please contact osevg@redhat.com for information on how to set that up.

Content

Categories

There are currently several top-level categories. Each category has a pathway file to define the order on the page. The homepage pathway file is the top-level file, and it points to each of the catgories. You can find the associated pathway files for each category in the top-level directory of the repository.

The Using the Cluster pathway is a good example to look at to understand how category pathways are structured:

pathway_id indicates which directory the scenario content can be found in. Let's look at the first entry in that file:

{
        "external_link": "https://learn.openshift.com/introduction/cluster-access/",
        "pathway_id": "introduction",
        "course_id": "cluster-access",
        "title": "Logging in to an OpenShift Cluster"
 }

Creating a scenario

Content admins

To promote a scenario to the public, add it to the pathway file. Scenarios in each directory are accessible without being in the pathway file, but you need to know the full path to access them.

To add the scenario to the dashboard/homepages, include a reference in the pathway file the format of:

https://learn.openshift.com/<category-directory-name>/<scenario-directory-name>/

For example; https://learn.openshift.com/middleware/fis-deploy-app/

To add a new category create a pathway/scenario folder structure similar to introduction and middleware. Add the category to the homepage by editing https://github.com/openshift-evangelists/intro-katacoda/blob/master/homepage-pathway.json

Resources