Difficulty: Beginner
Estimated Time: 5 Minutes

This interactive scenario will guide you through the steps required to create a Katacoda scenario using Git. The aim is to become familiar is with the concepts and workflow using our interactive training environment.

Once completed, you will be able to download the sample.

This scenario was intended to guide you through the process of creating scenarios in Katacoda.

You can find this example and more at https://github.com/katacoda/scenario-example

For more documentation, visit https://katacoda.com/docs

Creating Katacoda Scenarios using Git

Step 1 of 6

Create Katacoda Repository

Katacoda scenarios are made up of a series of markdown files, bash scripts and a JSON file. You can create Katacoda scenarios that are stored within a Git repository. Using services such as Github or Gitlab to host the repository allows you to collaborate with others.

Setup

Your Katacoda Profile needs to be linked to one Git Repository that can be hosted on a platform of your choice, such as Github, Gitlab or Bitbucket. If you have not already configured this, please proceed by configuring Git

Task

With your Katacoda profile configured, we'll now proceed to create our first scenario. The first stage is to clone the Git repository defined above, or create a directory locally and initial the repository.

A single Git repository can store multiple scenarios, each in their own directory. The outline of your first scenario has already been created in the interactive environment.

To continue you would need to initialise the Git repository.

ls && git init

index.json