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.