This is the content that appears on learn.openshift.com. If you have any questions raise an issue here.
First, you want to fork this repo and sign up at Katacoda with your GitHub handle.
For each scenario, please do the following:
https://www.katacoda.com/$GITHUBHANDLE
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.
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"
}
assets/
directory in your scenario. Note that files to be copied also must be listed in your index.json
under the assets
key.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