Difficulty: Beginner
Estimated Time: 10 minutes

In this scenario, you will learn how to create a course, a series of Katacoda scenarios collected together.

The advantage of creating a course is the ability to group related scenarios to provide users with a clear explanation and order to complete the content.

Congratulations, you have learned how to make a course based on a collection of Katacoda scenarios.

Creating a Katacoda Course

Step 1 of 2

Step 1 - Pathway Files

A Katacoda course is defined by creating a pathway file. The pathway defines which scenarios should be included in the course and the order to display them.

The collection of examples contains two courses, one to describe all the Katacoda content and another to describe the key Katacoda environments.

Clone Example

Clone the example repository with the command git clone https://github.com/katacoda/scenario-examples.git katacoda-scenario-examples

Within the root of a repository, a course has been created called uilayouts. The contents of the course have been defined as katacoda-scenario-examples/uilayouts-pathway.json.

Within the JSON file, the courses element defines each scenario. For example:

{
    "course_id": "uilayout-terminal",
    "title": "Scenario with Terminal UI",
    "description": "Katacoda Scenario Example"
},

The course_id is the scenario name directory within the course directory. For example ls katacoda-scenario-examples/uilayouts/uilayout-terminal. The title and description are shown on the course page.

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]