-
Notifications
You must be signed in to change notification settings - Fork 0
/
katacoda-pb.html
211 lines (178 loc) · 8.81 KB
/
katacoda-pb.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Katacoda - Escenarios interactivos para formación</title>
<meta name="description" content="Presentación introductoria (QuickStart) sobre Katacoda">
<meta name="author" content="Antonio Fumero - DevOpsTF">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/black.css" id="theme">
<link rel="icon" type="image/png" href="static/logos/katacoda-favicon-16x16.png" sizes="16x16">
<link rel="stylesheet" type="text/css" href="plugin/asciinema/asciinema-player.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section data-background="static/logos/katacoda-logo-3.png" data-background-size="500px">
</section>
<section>
<h2>Contenidos</h2>
<ol>
<li>¿Qué es y para qué sirve Katacoda?</li>
<li>Elementos en un <span class="fragment highlight-blue">escenario</span></li>
<li>¿Cómo me monto un escenario en Katacoda?</li>
<li>Hands-on-Demo</li>
</ol>
</section>
<section>
<section data-background="#b5533c" data-background-transition="zoom">
<h2>Katacoda</h2>
<a target="_blank" href="https://www.linkedin.com/in/benhall0/"><img src="static/images/ben-hall-twitter.jpg" alt="Ben Hall" align="center" style="width:150px;height:150px;border:0;"></a>
<blockquote>
“Interactive Learning and Training Platform for Software Engineers.”
</blockquote>
</section>
<section data-background="#4d7e65" data-background-transition="zoom">
<h2>Qué es</h2>
<blockquote>Una plataforma para montar de una manera sencilla un 'Quick Start' guiado sobre muchas herramientas y tecnologías relativamente populares utilizando para su consumo solo un navegador web.</blockquote>
</section>
<section data-background="#4d7e65" data-background-transition="zoom">
<h2>Para qué sirve</h2>
<blockquote>Para montarte y mantener pequeños laboratorios interactivos y talleres de iniciación...</blockquote>
</section>
</section>
<section>
<h3>Elementos en un <span class="fragment highlight-blue">escenario</span></h3>
<p><span class="fragment highlight-red">Pasos (steps.md)</span> guiados y documentados.</p>
<p>Un fichero <span class="fragment highlight-red">index.json</span> que define todo el escenario.</p>
<p><span class="fragment highlight-red">Un entorno</span> identificado con una imagen Docker.</p>
<p><span class="fragment highlight-red">Un layout</span> que será nuestra UI.</p>
<p><span class="fragment highlight-red">Ficheros para cargar o ejecutar</span> en el entorno</p>
</section>
<section data-markdown>
<script type="text/template">
## Soporte para Markdown
Incluye [sus propias etiquetas](https://www.katacoda.com/docs/scenarios/markdown-syntax)...
... e integración con el terminal:
```
Allow a code block to be executed `some-command`{{execute}}
For multiple terminals, execute the command on HOST1 `some-command`{{execute HOST1}}
For multiple terminals, execute the command on T1 `some-command`{{execute T1}}
Allow a code block to be copied `some-command`{{copy}}
```
</script>
</section>
<section>
<h2>Por dónde empiezo</h2>
<ol>
<li>Me hago un <span class="fragment highlight-red">perfil</span> (GitHub, LinkedIN, G+, Twitter)</li>
<li>Creo un <span class="fragment highlight-red">repo en GitHub</span> y le asocio un <span class="fragment highlight-blue">WebHook</span> (automatizado)</li>
<li>Me bajo la <span class="fragment highlight-green">CLI</span> de Katacoda (v0.0.2)</li>
<li>Creo <span class="fragment highlight-red">mi primer escenario</span> y lo subo a GitHub.</li>
</ol>
<pre><code class="hljs" data-trim contenteditable>
$ katacoda create scenario
$ katacoda push
</code></pre>
</section>
<section>
<h2>Mi primer escenario</h2>
<script src="https://asciinema.org/a/189960.js" id="asciicast-189960" async></script>
<!-- <asciinema-player src="cast/189960.cast" cols=80 rows=25></asciinema-player> -->
</section>
<section>
<h2>index.json</h2>
<pre><code class="hljs" data-trim contenteditable>
{
"title": "My First Scenario",
"description": "Learning how to educate via Katacoda",
"details": {
"steps": [
{ "title": "Title", "text": "step1.md" },
{ "title": "Goes", "text": "step2.md" },
{ "title": "Here", "text": "step3.md" }
],
"intro": {
"text": "intro.md",
"courseData": "env-init.sh"
},
"finish": {
"text": "finish.md"
}
},
"environment": {
"uilayout": "terminal"
},
"backend": {
"imageid": "docker"
}
} </code></pre>
<p>Podemos ver ejemplos más complejos en <a href="http://softwaremaniacs.org/soft/highlight/en/description/">este repo</a>.</p>
</section>
<section data-markdown data-background-video="https://cdn.technologyreview.com/v/files/garyprinttimelapsefinal.mp4" data-background-color="#000000"></section>
<section data-background="#4d7e65" data-background-transition="zoom">
<h2>Cosas buenas</h2>
<p><span class="fragment"><b>Es muy fácil empezar.</b></span></p>
<p><span class="fragment">Lo haces todo con Git...</span></p>
<p><span class="fragment">... un poco de JSON y Markdown.</span></p>
<p><span class="fragment">150+ escenarios disponibles.</span></p>
</section>
<section data-background="#b5533c" data-background-transition="zoom">
<h2>Cosas malas</h2>
<p><span class="fragment"><b>Documentación muy verde.</b></span></p>
<p><span class="fragment">La CLI tiene poca funcionalidad.</span></p>
<p><span class="fragment"><a target="_blank" href="https://www.linkedin.com/in/benhall0/">Ben Hall</a> es majo; pero es solo "un tronco solo".</span></p>
<p><span class="fragment">Hay proyectos más específicos, como <a target="_blank" href="https://labs.play-with-docker.com/">PWD</a>, que tienen más tirón.</span></p>
</section>
<section>
<h3>Un par de <span class="fragment highlight-blue">ejemplos</span></h3>
<p><a target="_blank" href="https://learn.openshift.com/">Portal interactivo de formación</a> de <span class="fragment highlight-red">Red Hat Openshift</span></p>
<p><a target="_blank" href="https://kubernetes.io/docs/tutorials/kubernetes-basics/">Tutoriales básicos</a> en la documentación de <span class="fragment highlight-blue">K8s.</span></p>
<a target="_blank" href="https://katacoda.com/devopstf"><img src="static/logos/devopstf-logo.jpeg" alt="DevOps Tenerife" align="center" style="width:100px;height:100px;border:0;"></a>
</section>
<section data-background="static/gif/giphy-cheers.gif"> </section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script src="plugin/asciinema/asciinema-player.js"></script>
<script>
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [
// { src: 'plugin/asciinema/asciinema-player.js' },
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/search/search.js', async: true },
{ src: 'plugin/zoom-js/zoom.js', async: true },
{ src: 'plugin/notes/notes.js', async: true }
]
});
</script>
</body>
</html>