-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathwaml_github20.html
237 lines (200 loc) · 9.02 KB
/
waml_github20.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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Teaching with GitHub | WAML 2020 Preconference Workshop</title>
<link rel="stylesheet" href="dist/reset.css">
<link rel="stylesheet" href="dist/reveal.css">
<link rel="stylesheet" href="dist/theme/wamlstyle.css" id="theme">
<!-- emoji style -->
<link href="https://emoji-css.afeld.me/emoji.css" rel="stylesheet">
<style>
#left_slide {
text-align: left;}
</style>
<!-- Theme used for syntax highlighted code -->
<link rel="stylesheet" href="plugin/highlight/monokai.css" id="highlight-theme">
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section data-background-color='#4F94CD'>
<h2 style="text-align: left; color:white">Teaching with GitHub</h2>
<p style="text-align: left; color:white">WAML 2020 Preconference Workshop</p><br><br><br>
<div style="text-align: right;">
<p style='color:white'><strong>Evan & Phil</strong></p>
<p style='color:white'>Oct. 14, 2020</p>
<p ><a href='http://bit.ly/waml20git' target='_blank' style='color:#EEAD0E'>bit.ly/waml20git</a></p>
</div>
</section>
<!--
<section>
<div id='left_slide'>
<h3>Presenters</h3><br>
<h4>Evan Thornberry <a href='https://github.com/ect123' target='_blank'><img src='../img/GitHub-Mark-custom.svg' style='width:30px'></a></h4>
<p style='font-size:x-large'>GIS Librarian</p>
<p style='font-size:x-large'>University of British Columbia Library</p>
<p style='font-size:x-large'><a href='mailto:evan.thornberry@ubc.ca'>evan.thornberry@ubc.ca</a></p><br>
<h4>Phil White <a href='https://github.com/outpw' target='_blank'><img src='../img/GitHub-Mark-custom.svg' style='width:30px'></a></h4>
<p style='font-size:x-large'>Earth, Environment & Geospatial Librarian</p>
<p style='font-size:x-large'>University of Colorado Boulder Libraries</p>
<p style='font-size:x-large'><a href='mailto:philip.white@colorado.edu'>philip.white@colorado.edu</a></p>
</div>
</section> -->
<section>
<div id='left_slide'>
<h4>Outline</h4><br>
<div style='text-indent:30px'>
<ol>
<li>GitHub—<span style='font-style:italic'>Demystified!</span></li>
<ul>
<li class='fragment' data-fragment-index="1">How do we use GitHub in practice?</li><br>
</ul>
<li>Overview of GitHub Pages</li>
<ul>
<li class='fragment' data-fragment-index="1">How do we use Pages in practice?</li><br>
</ul>
</ol>
</div>
</div>
</section>
<section data-background-color='#E3CF57'>
<h2>PSA:</h2>
<span class='fragment'>
<h4>If you have not created an account on <a href='https://github.com/' target='_blank'>GitHub.com</a>, please do so now!</h4>
</span><br>
<p class='fragment'>Also, just make sure you can log-in. <i class="em em-bird" aria-role="presentation" aria-label="BIRD"></i></p>
</section>
<section>
<div id='left_slide'>
<h4><span style='font-style:italic'>But first...</span><span class='fragment'>Why use GitHub for your workshops?</span></h4><br>
<ul>
<li class='fragment'>GitHub is free, open, and very approachable.</li><br>
<li class='fragment'>Enables collaboration, reproducibility, & version control.</li><br>
<li class='fragment'>Flexible and extendable.</li>
</ul>
</section>
<section>
<section data-background-color='#4F94CD'>
<h2 style='color:white'>GitHub Demystified</h2>
</section>
<section>
<h2> Git vs GitHub</h2>
</section>
<section>
<div id='left_slide'>
<h3>What is "Git"?</h3>
<ul>
<li class='fragment'><a href='https://git-scm.com/' target='_blank'>Git</a> = version control software</li>
<li class='fragment'>Free and open source</li>
<li class='fragment'>Git is for your computer—you run it locally</li>
<li class='fragment'>Project-specific repositories hold past versions of files</li>
<li class='fragment'>Mostly a command-line tool</li>
<li class='fragment'>Very useful for project managment</li>
</ul>
</div>
</section>
<section>
<div id='left_slide'>
<h3>What is "GitHub"?</h3>
<ul>
<li class='fragment'><a href='https://github.com/' target='_blank'>GitHub.com</a> is a website that uses Git</li>
<li class='fragment'>Lets you store a git repo on the web</li>
<li class='fragment'>Link a local repo to a web repo (hello backup!)</li>
<li class='fragment'>Allows for multiple contributors to a repo</li>
<li class='fragment'>Built-in tools for managing collabs/QC</li>
<li class='fragment'>Very popular w/ devlopers/ programmers/ coders</li>
</ul>
</div>
</section>
<section>
<h3 style='font-style:italic'>Intimidating?</h3><br>
<h3 class='fragment'>We get it.</h3><br>
<p class='fragment'>We made a <a href='https://ubc-lib-geo.github.io/gis-workshop-waml-template/content/glossary.html' target='_blank'>glossary</a>.</p>
</section>
<section data-background-image='../img/evanpic1.png' data-background-size='100%'>
</section>
<section data-background-image='../img/evanpic2.png'>
</section>
<section>
<div id='left_slide'>
<h4>A few terms:</h4>
<ol>
<li class='fragment'><span style='font-style:bold'>Local Repo: </span>A repo on your computer.</li>
<li class='fragment'><span style='font-style:bold'>Remote Repo: </span>A repo on GH.</li>
<li class='fragment'><span style='font-style:bold'>Fork: </span>Make a remote copy of a GH repo.</li>
<li class='fragment'><span style='font-style:bold'>Clone: </span>Make a local copy of a GH repo.</li>
<li class='fragment'><span style='font-style:bold'>Pull Request: </span>Suggest an edit to a GH repo.</li>
</ol>
</div>
</section>
<section>
<h2>How do we use GitHub?</h2>
<h4 class='fragment'>Let us count the ways...</h4>
</section>
</section>
<section>
<section data-background-color='#4F94CD'>
<h2 style='color:white'>GitHub Pages</h2>
</section>
<section>
<div id='left_slide'>
<h3>What is GitHub Pages?</h3>
<ul>
<li class='fragment'><a href='https://pages.github.com/' target='_blank'>GitHub Pages</a>: static webpages hosted on GitHub.</li>
<li class='fragment'>Free! Easy configuration!</li>
<li class='fragment'>Add webpages and associated content to a repo...</li>
<li class='fragment'>...click a couple of buttons...</li>
<li class='fragment'>...and BAM! you have a website.</li>
</ul>
</div>
</section>
<section>
<h3>Don't want to deal with HTML/CSS/JS?</h3><br>
<h3 class='fragment' style='font-style:italic'>No problem!</h3><br>
<h3 class='fragment fade-right'>Enter <a href='https://jekyllrb.com/' target='_blank'>JEKYLL</a></h3>
</section>
<section>
<div id=left_slide>
<h3>Jekyll</h3>
<ul>
<li class='fragment'>Static sites generator</li>
<li class='fragment'>Transforms Markdown docs to sites</li>
<li class='fragment'>GitHub Pages are powered by Jekyll</li>
<li class='fragment'>Once deployed, create new pages using <a href='https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet' target='_blank'>Markdown</a></li>
</ul>
</div>
</section>
<section>
<h2>How do we use Pages?</h2>
</section>
<section>
<h3>Markdown Practice Sesh</h3><br>
<h3><a href='http://bit.ly/waml-markdown' target='_blank'>bit.ly/waml-markdown</a></h3>
</section>
</section>
<section>
<h3>That's a wrap on the slides! <i class="em em-100" aria-role="presentation" aria-label="HUNDRED POINTS SYMBOL"></i></h3>
<p class='fragment fade-left' >Time for a break! <i class="em em-clock2" aria-role="presentation" aria-label="CLOCK FACE TWO OCLOCK"></i></p>
<p class='fragment'>We will continue with Hands On! <i class="em em-raised_hands" aria-role="presentation" aria-label="PERSON RAISING BOTH HANDS IN CELEBRATION"></i></p>
</section>
</div>
</div>
<script src="dist/reveal.js"></script>
<script src="plugin/notes/notes.js"></script>
<script src="plugin/markdown/markdown.js"></script>
<script src="plugin/highlight/highlight.js"></script>
<script>
// More info about initialization & config:
// - https://revealjs.com/initialization/
// - https://revealjs.com/config/
Reveal.initialize({
hash: true,
// Learn about plugins: https://revealjs.com/plugins/
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
});
</script>
</body>
</html>