katacoda-scenarios

Katacoda Scenarios
git clone git://archive.git.mtrnord.blog/MTRNord/katacoda-scenarios.git
Log | Files | Refs | README

commit c73cca84249243bbdb11aabe82adf97a793ed99a
parent 6454a1a3734f9a71b6cb55008bab29670c96cd60
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Sat, 21 Sep 2019 18:31:00 +0200

Hello World Sample Scenario
Diffstat:
Ahello-world/README.md | 25+++++++++++++++++++++++++
Ahello-world/finish.md | 1+
Ahello-world/index.json | 26++++++++++++++++++++++++++
Ahello-world/intro.md | 1+
Ahello-world/step1.md | 7+++++++
5 files changed, 60 insertions(+), 0 deletions(-)

diff --git a/hello-world/README.md b/hello-world/README.md @@ -0,0 +1,25 @@ +# Katacoda Hello World +This is an example repository. Starting building your own scenario by editing the files in this directory. Create additional scenarios by adding additional directories to the top level folder. + + +## index.json +The file _index.json_ contains all the information about the scenario. It has the title, description and a heading for each step. + +The file also contains an imageid. This refers to the Katacoda environment. Here are some environment image IDs you may find useful: + +| **Environment** | **Image ID** | +|------------------|---------------| +| Docker | docker | +| Kubernetes | kubernetes | +| CoreOS | coreos | +| Node.js v6 | node6 | +| Go | go | +| C# | c# | +| Java | java8 | +| Bash | bash | + +## Pro Author Accounts +Interested in metrics, private repositories and environments for classroom teaching? Update to become a Pro Author at https://katacoda.com/teach + +## Interactive Developer Portals +Want to take your scenarios to the next level? Visit https://katacoda.com/embed diff --git a/hello-world/finish.md b/hello-world/finish.md @@ -0,0 +1 @@ +You've completed your first Katacoda scenario! diff --git a/hello-world/index.json b/hello-world/index.json @@ -0,0 +1,26 @@ +{ + "title": "Hello World Scenario", + "description": "Your First Scenario", + "difficulty": "beginner", + "time": "2 minutes", + "details": { + "steps": [{ + "title": "Step 1 - Run Command", + "text": "step1.md" + }], + "intro": { + "text": "intro.md", + "credits": "" + }, + "finish": { + "text": "finish.md" + } + }, + "environment": { + "uilayout": "terminal", + "uimessage1": "\u001b[32mYour Interactive Bash Terminal.\r\nStart Kubernetes using `launch.sh`\u001b[m\r\n" + }, + "backend": { + "imageid": "bash" + } +} diff --git a/hello-world/intro.md b/hello-world/intro.md @@ -0,0 +1 @@ +Welcome to your first Katacoda Scenario! diff --git a/hello-world/step1.md b/hello-world/step1.md @@ -0,0 +1,7 @@ +This is your first step. + +## Task + +This is an _example_ of creating a scenario and running a **command** + +`echo 'Hello World'`{{execute}}