Permalink
Browse files

Hello World Sample Scenario

  • Loading branch information...
Kvaibhav01 committed Nov 24, 2018
1 parent d0b4678 commit ad471b08c42782e9c918a0a95d1b5a572b425e86
Showing with 60 additions and 0 deletions.
  1. +25 −0 hello-world/README.md
  2. +1 −0 hello-world/finish.md
  3. +26 −0 hello-world/index.json
  4. +1 −0 hello-world/intro.md
  5. +7 −0 hello-world/step1.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
@@ -0,0 +1 @@
You've completed your first Katacoda scenario!
@@ -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"
}
}
@@ -0,0 +1 @@
Welcome to your first Katacoda Scenario!
@@ -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}}

0 comments on commit ad471b0

Please sign in to comment.