Skip to content

Commit a849a93

Browse files
Removed devoncommand and other minor fixes
1 parent f58e87b commit a849a93

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

runners/katacoda/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ export class Katacoda extends Runner {
347347
"text": "step" +this.stepsCount + ".md"
348348
});
349349

350-
this.renderTemplate("dockerCompose.md", this.outputPathTutorial + "step" + (this.stepsCount++) + ".md", { text: step.text, textAfter: step.textAfter, cdCommand: cdCommand, terminalId: terminal.terminalId, interrupt: terminal.isRunning, port: command.parameters[1].port, useDevonCommand: this.getVariable(this.useDevonCommand)});
350+
this.renderTemplate("dockerCompose.md", this.outputPathTutorial + "step" + (this.stepsCount++) + ".md", { text: step.text, textAfter: step.textAfter, cdCommand: cdCommand, terminalId: terminal.terminalId, interrupt: terminal.isRunning, port: command.parameters[1].port});
351351
return null;
352352
}
353353

runners/katacoda/templates/dockerCompose.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<%= text; %>
22

3-
## Docker Compose
4-
53
<%= cdCommand; %>
64

75
<% if(!interrupt){ %>
86
Now run docker-compose.
97
<% } else { %>
108
The docker container is already running.
9+
Usually you would type "Ctrl + C" and rerun the same command in this terminal to rebuild the app, but for now click on the command to stop and relaunch it automatically.
1110
<% } %>
1211

13-
`<% if(useDevonCommand){ %>devon<% } %> docker-compose up`{{execute T<%= terminalId; %> <% if (interrupt) { %>interrupt<% } %>}}
12+
`docker-compose up`{{execute T<%= terminalId; %> <% if (interrupt) { %>interrupt<% } %>}}
1413

1514
This will take some time.
1615

0 commit comments

Comments
 (0)