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 4

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.