index.html 29.5 KB
Newer Older
1
---
2
layout: workshop      # DON'T CHANGE THIS.
Greg Wilson's avatar
Greg Wilson committed
3
root: .               # DON'T CHANGE THIS EITHER.  (THANK YOU.)
Greg Wilson's avatar
Greg Wilson committed
4
carpentry: "FIXME"    # what kind of Carpentry (must be either "dc" or "swc")
5
venue: "FIXME"        # brief name of host site without address (e.g., "Euphoric State University")
6
7
8
9
10
11
12
13
14
15
address: "FIXME"      # full street address of workshop (e.g., "Room A, 123 Forth Street, Blimingen, Euphoria")
country: "FIXME"      # lowercase two-letter ISO country code such as "fr" (see https://en.wikipedia.org/wiki/ISO_3166-1)
language: "FIXME"     # lowercase two-letter ISO language code such as "fr" (see https://en.wikipedia.org/wiki/ISO_639-1)
latlng: "FIXME"       # decimal latitude and longitude of workshop venue (e.g., "41.7901128,-87.6007318" - use http://www.latlong.net/)
humandate: "FIXME"    # human-readable dates for the workshop (e.g., "Feb 17-18, 2020")
humantime: "FIXME"    # human-readable times for the workshop (e.g., "9:00 am - 4:30 pm")
startdate: FIXME      # machine-readable start date for the workshop in YYYY-MM-DD format like 2015-01-01
enddate: FIXME        # machine-readable end date for the workshop in YYYY-MM-DD format like 2015-01-02
instructor: ["FIXME"] # boxed, comma-separated list of instructors' names as strings, like ["Kay McNulty", "Betty Jennings", "Betty Snyder"]
helper: ["FIXME"]     # boxed, comma-separated list of helpers' names, like ["Marlyn Wescoff", "Fran Bilas", "Ruth Lichterman"]
16
contact: ["fixme@example.org"]    # boxed, comma-separated list of contact email addresses for the host, lead instructor, or whoever else is handling questions, like ["marlyn.wescoff@example.org", "fran.bilas@example.org", "ruth.lichterman@example.org"]
17
18
etherpad:             # optional: URL for the workshop Etherpad if there is one
eventbrite:           # optional: alphanumeric key for Eventbrite registration, e.g., "1234567890AB" (if Eventbrite is being used)
19
---
20
21
22

<!-- See instructions in the comments below for how to edit specific sections of this workshop template. -->

23
<!--
24
25
  HEADER

26
27
28
29
  Edit the values in the block above to be appropriate for your workshop.
  If the value is not 'true', 'false', 'null', or a number, please use
  double quotation marks around the value, unless specified otherwise.
  And run 'tools/check' *before* committing to make sure that changes are good.
30
31
32
-->

<!--
33
34
  EVENTBRITE

35
36
37
38
39
  This block includes the Eventbrite registration widget if
  'eventbrite' has been set in the header.  You can delete it if you
  are not using Eventbrite, or leave it in, since it will not be
  displayed if the 'eventbrite' field in the header is not set.
-->
40
41
{% if page.eventbrite %}
<iframe
42
  src="https://www.eventbrite.com/tickets-external?eid={{page.eventbrite}}&ref=etckt"
43
  frameborder="0"
44
  width="100%"
45
  height="248px"
46
47
48
49
  scrolling="auto">
</iframe>
{% endif %}

Tom Wright's avatar
Tom Wright committed
50
<h4>This is the workshop template.  Use it to create your own website.
51
Delete these lines and please fill in 
52
53
<a href="{{site.amy_site}}/submit">this self-organized workshop form</a>
and the administrator will contact you if we need any extra information.</h4>
54

55
<h2 id="general">General Information</h2>
56

57
<!--
58
59
  INTRODUCTION

60
61
62
  Edit the general explanatory paragraph below if you want to change
  the pitch.
-->
63
64
65
66
67
68
69
70
71
72
<p>
  <a href="{{site.swc_site}}">Software Carpentry</a>'s mission
  is to help scientists and engineers get more research done in less
  time and with less pain by teaching them basic lab skills for
  scientific computing.  This hands-on workshop will cover basic
  concepts and tools, including program design, version control, data
  management, and task automation.  Participants will be encouraged to
  help one another and to apply what they have learned to their own
  research problems.
</p>
73
74
75
76
77
78
79
<p align="center">
  <em>
    For more information on what we teach and why,
    please see our paper
    "<a href="http://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.1001745">Best Practices for Scientific Computing</a>".
  </em>
</p>
80

81
<!--
82
83
  AUDIENCE

84
85
86
  Explain who your audience is.  (In particular, tell readers if the
  workshop is only open to people from a particular institution.
-->
87
<p id="who">
88
89
  <strong>Who:</strong>
  The course is aimed at graduate students and other researchers.
90
91
  <strong>You don't need to have any previous knowledge of the tools that will
    be presented at the workshop.</strong>
92
93
</p>

94
<!--
95
96
  LOCATION

97
98
99
100
101
  This block displays the address and links to maps showing directions
  if the latitude and longitude of the workshop have been set.  You
  can use http://itouchmap.com/latlong.html to find the lat/long of an
  address.
-->
102
{% if page.latlng %}
103
<p id="where">
104
  <strong>Where:</strong>
105
  {{page.address}}.
106
  Get directions with
107
  <a href="//www.openstreetmap.org/?mlat={{page.latlng | replace:',','&mlon='}}&zoom=16">OpenStreetMap</a>
108
  or
109
  <a href="//maps.google.com/maps?q={{page.latlng}}">Google Maps</a>.
110
111
112
</p>
{% endif %}

113
<!--
114
115
  SPECIAL REQUIREMENTS

116
117
  Modify the block below if there are any special requirements.
-->
118
<p id="requirements">
Tom Wright's avatar
Tom Wright committed
119
  <strong>Requirements:</strong> Participants must bring a laptop with a
120
  Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) that they have administrative privileges
121
  on. They should have a few specific software packages installed (listed
122
123
  <a href="#setup">below</a>). They are also required to abide by
  Software Carpentry's
124
125
126
  <a href="{{site.swc_site}}/conduct.html">Code of Conduct</a>.
</p>

Tom Wright's avatar
Tom Wright committed
127
128
129
130
131
132
133
<!--
  ACCESSIBILITY

  Modify the block below if there are any barriers to accessibility or
  special instructions.
-->
<p id="accessibility">
Greg Wilson's avatar
Greg Wilson committed
134
135
136
137
138
139
140
141
142
143
144
145
146
  <strong>Accessibility:</strong> We are committed to making this workshop
  accessible to everybody.
  The workshop organisers have checked that:
</p>
<ul>
  <li>The room is wheelchair / scooter accessible.</li>
  <li>Accessible restrooms are available.</li>
</ul>
<p>
  Materials will be provided in advance of the workshop and
  large-print handouts are available if needed by notifying the
  organizers in advance.  If we can help making learning easier for
  you (e.g. sign-language interpreters, lactation facilities) please
147
  <a href="{{page.contact}}">get in touch</a> and we will
Greg Wilson's avatar
Greg Wilson committed
148
  attempt to provide them.
Tom Wright's avatar
Tom Wright committed
149
150
</p>

151
<!--
152
153
  CONTACT EMAIL ADDRESS

Greg Wilson's avatar
Greg Wilson committed
154
  Display the contact email address set in the configuration file.
155
-->
156
<p id="contact">
157
  <strong>Contact</strong>:
158
159
  Please email
  {% if page.contact %}
160
    {% for contact in page.contact %}
161
162
163
164
165
166
167
168
169
      {% if forloop.last and page.contact.size > 1 %}
        or
      {% else %}
        {% unless forloop.first %}
        ,
        {% endunless %}
      {% endif %}
      <a href='mailto:{{contact}}'>{{contact}}</a>
    {% endfor %}
170
  {% else %}
171
    to-be-announced
172
173
  {% endif %}
  for more information.
174
175
176
177
</p>

<hr/>

178
<!--
179
180
  SCHEDULE

181
182
183
184
  Show the workshop's schedule.  Edit the items and times in the table
  to match your plans.  You may also want to change 'Day 1' and 'Day
  2' to be actual dates or days of the week.
-->
185
<h2 id="schedule">Schedule</h2>
186

187
<!-- DO NOT EDIT SURVEY LINKS -->
188
189
<p><em>Surveys</em></p>
<p>Please be sure to complete these surveys before and after the workshop.</p>
Greg Wilson's avatar
Greg Wilson committed
190
191
<p><a href="{{ site.pre_survey }}{{ site.github.project_title }}">Pre-workshop Survey</a></p>
<p><a href="{{ site.post_survey }}{{ site.github.project_title }}">Post-workshop Survey</a></p>
192

193
194
<div class="row">
  <div class="col-md-6">
195
196
    <h3>Day 1</h3>
    <table class="table table-striped">
197
      <tr> <td>09:00</td>  <td>Automating tasks with the Unix shell</td> </tr>
198
      <tr> <td>10:30</td> <td>Coffee</td> </tr>
199
200
201
202
      <tr> <td>12:00</td>  <td>Lunch break</td> </tr>
      <tr> <td>13:00</td>  <td>Building programs with Python</td> </tr>
      <tr> <td>14:30</td>  <td>Coffee</td> </tr>
      <tr> <td>16:00</td>  <td>Wrap-up</td> </tr>
203
204
    </table>
  </div>
205
  <div class="col-md-6">
206
207
    <h3>Day 2</h3>
    <table class="table table-striped">
208
209
210
211
212
213
      <tr> <td>09:00</td>  <td>Version control with Git</td> </tr>
      <tr> <td>10:30</td>  <td>Coffee</td> </tr>
      <tr> <td>12:00</td>  <td>Lunch break</td> </tr>
      <tr> <td>13:00</td>  <td>Managing data with SQL</td> </tr>
      <tr> <td>14:30</td>  <td>Coffee</td> </tr>
      <tr> <td>16:00</td>  <td>Wrap-up</td> </tr>
214
215
216
217
    </table>
  </div>
</div>

218
<!--
219
220
  ETHERPAD

Raniere Silva's avatar
Raniere Silva committed
221
222
  At `_misc/etherpad.txt` you will find a template for the etherpad.

223
224
225
  Display the Etherpad for the workshop.  You can set this up in
  advance or on the first day; either way, make sure you push changes
  to GitHub after you have its URL.  To create an Etherpad, go to
226

227
      http://pad.software-carpentry.org/YYYY-MM-DD-site
228

229
230
  where 'YYYY-MM-DD-site' is the identifier for your workshop,
  e.g., '2015-06-10-esu'.
231
232
-->
{% if page.etherpad %}
233
<p id="etherpad">
234
235
236
237
238
239
  <strong>Etherpad:</strong> <a href="{{page.etherpad}}">{{page.etherpad}}</a>.
  <br/>
  We will use this Etherpad for chatting, taking notes, and sharing URLs and bits of code.
</p>
{% endif %}

240
241
<hr/>

242
<!--
243
244
  SYLLABUS

245
246
247
248
249
250
251
  Show what topics will be covered.

  1. If your workshop is R rather than Python, remove the comment
     around that section and put a comment around the Python section.
  2. Some workshops will delete SQL.
  3. Please make sure the list of topics is synchronized with what you
     intend to teach.
252
253
  4. You may need to move the div's with class="col-md-6" around inside
     the div's with class="row" to balance the multi-column layout.
254
255
256
257
258

  This is one of the places where people frequently make mistakes, so
  please preview your site before committing, and make sure to run
  'tools/check' as well.
-->
259
<h2 id="syllabus">Syllabus</h2>
260

261
262
<div class="row">
  <div class="col-md-6">
263
    <h3 id="syllabus-shell">The Unix Shell</h3>
264
    <ul>
265
      <li>Files and directories</li>
266
267
268
269
      <li>History and tab completion</li>
      <li>Pipes and redirection</li>
      <li>Looping over files</li>
      <li>Creating and running shell scripts</li>
270
      <li>Finding things</li>
271
      <li><a href="{{site.swc_pages}}/shell-novice/reference/">Reference...</a></li>
272
273
    </ul>
  </div>
274
  <div class="col-md-6">
275
    <h3 id="syllabus-python">Programming in Python</h3>
276
277
278
279
280
    <ul>
      <li>Using libraries</li>
      <li>Working with arrays</li>
      <li>Reading and plotting data</li>
      <li>Creating and using functions</li>
281
      <li>Loops and conditionals</li>
282
283
      <li>Defensive programming</li>
      <li>Using Python from the command line</li>
284
      <li><a href="{{site.swc_pages}}/python-novice-inflammation/reference/">Reference...</a></li>
285
286
    </ul>
  </div>
287
288
  <!--
  <div class="col-md-6">
289
    <h3 id="syllabus-r">Programming in R</h3>
290
291
292
293
    <ul>
      <li>Working with vectors and data frames</li>
      <li>Reading and plotting data</li>
      <li>Creating and using functions</li>
294
      <li>Loops and conditionals</li>
295
      <li>Using R from the command line</li>
296
      <li><a href="{{site.swc_pages}}/r-novice-inflammation/reference/">Reference...</a></li>
297
298
    </ul>
  </div>
299
  -->
300
301
  <!--
  <div class="col-md-6">
302
    <h3 id="syllabus-matlab">Programming in MATLAB</h3>
303
304
305
306
307
308
    <ul>
      <li>Working with arrays</li>
      <li>Reading and plotting data</li>
      <li>Creating and using functions</li>
      <li>Loops and conditionals</li>
      <li>Defensive programming</li>
309
      <li><a href="{{site.swc_pages}}/matlab-novice-inflammation/reference/">Reference...</a></li>
310
311
312
     </ul>
   </div>
   -->
313
314
</div>

315
316
<div class="row">
  <div class="col-md-6">
317
    <h3 id="syllabus-git">Version Control with Git</h3>
318
319
320
321
322
323
324
325
326
    <ul>
      <li>Creating a repository</li>
      <li>Recording changes to files: <code>add</code>, <code>commit</code>, ...</li>
      <li>Viewing changes: <code>status</code>, <code>diff</code>, ...</li>
      <li>Ignoring files</li>
      <li>Working on the web: <code>clone</code>, <code>pull</code>, <code>push</code>, ...</li>
      <li>Resolving conflicts</li>
      <li>Open licenses</li>
      <li>Where to host work, and why</li>
327
      <li><a href="{{site.swc_pages}}/git-novice/reference/">Reference...</a></li>
328
329
    </ul>
  </div>
330
  <div class="col-md-6">
331
    <h3 id="syllabus-sql">Managing Data with SQL</h3>
332
333
334
335
336
337
338
339
340
    <ul>
      <li>Reading and sorting data</li>
      <li>Filtering with <code>where</code></li>
      <li>Calculating new values on the fly</li>
      <li>Handling missing values</li>
      <li>Combining values using aggregation</li>
      <li>Combining information from multiple tables using <code>join</code></li>
      <li>Creating, modifying, and deleting data</li>
      <li>Programming with databases</li>
341
      <li><a href="{{site.swc_pages}}/sql-novice-survey/reference/">Reference...</a></li>
342
343
344
345
346
347
    </ul>
  </div>
</div>

<hr/>

348
<!--
349
350
  SETUP

351
352
353
  Delete irrelevant sections from the setup instructions.  Each
  section is inside a 'div' without any classes to make the beginning
  and end easier to find.
354

355
356
357
358
  This is the other place where people frequently make mistakes, so
  please preview your site before committing, and make sure to run
  'tools/check' as well.
-->
359

360
<h2 id="setup">Setup</h2>
361

362
<p>
363
364
  To participate in a Software Carpentry workshop, you will need
  access to the software described below. In addition, you will
365
  need an up-to-date web browser.
366
367
</p>
<p>
David LeBauer's avatar
David LeBauer committed
368
369
  We maintain a list of common issues that occur during installation as a reference for instructors
  that may be useful on the
370
  <a href = "{{site.swc_github}}/workshop-template/wiki/Configuration-Problems-and-Solutions">Configuration Problems and Solutions wiki page</a>.
371
372
</p>

373
<div id="shell"> <!-- Start of 'shell' section. -->
374
  <h3>The Bash Shell</h3>
375

376
377
378
379
  <p>
    Bash is a commonly-used shell that gives you the power to do simple
    tasks more quickly.
  </p>
380

381
382
  <div class="row">
    <div class="col-md-4">
383
      <h4 id="shell-windows">Windows</h4>
Sarah Stevens's avatar
Sarah Stevens committed
384
      <a href="https://www.youtube.com/watch?v=339AEqk9c-8">Video Tutorial</a>
385
386
387
388
      <ol>
        <li>Download the Git for Windows <a href="https://git-for-windows.github.io/">installer</a>.</li>
        <li>Run the installer and follow the steps bellow:
          <ol>
bhjolly's avatar
bhjolly committed
389
            <!-- Git 2.8.2 Setup -->
390
391
392
393
394
395
396
            <!-- Information -->
            <li>Click on "Next".</li>
            <!-- Select Components -->
            <li>Click on "Next".</li>
            <!-- Adjusting your PATH environment -->
            <li>
              <strong>
bhjolly's avatar
bhjolly committed
397
                Keep "Use Git from the Windows Command Prompt" selected and click on "Next".
398
399
400
401
              </strong>
                If you forgot to do this programs that you need for the workshop will not work properly.
                If this happens rerun the installer and select the appropriate option.
            </li>
bhjolly's avatar
bhjolly committed
402
403
            <!-- Choosing the SSH executable -->
            <li>Click on "Next".</li>
404
            <!-- Configuring the line ending conversions -->
405
406
            <li>
              <strong>
bhjolly's avatar
bhjolly committed
407
                Keep "Checkout Windows-style, commit Unix-style line endings" selected and click on "Next".
408
409
              </strong>
            </li>
410
            <!-- Configuring the terminal emulator to use with Git Bash -->
411
412
            <li>
              <strong>
bhjolly's avatar
bhjolly committed
413
                Keep "Use Windows' default console window" selected and click on "Next".
414
415
              </strong>
            </li>
416
            <!-- Configuring experimental performance tweaks -->
bhjolly's avatar
bhjolly committed
417
            <li>Click on "Install".</li>
418
419
420
421
422
            <!-- Installing -->
            <!-- Completing the Git Setup Wizard -->
            <li>Click on "Finish".</li>
          </ol>
        </li>
423
424
425
426
427
428
429
430
431
432
433
434
        <li>
          If your "HOME" environment variable is not set (or you don't know what this is):
          <ol>
            <li>Open command prompt (Open Start Menu then type <code>cmd</code> and press [Enter])</li>
            <li>
              Type the following line into the command prompt window exactly as shown:
              <p><code>setx HOME "%USERPROFILE%"</code></p>
            </li>
            <li>Press [Enter], you should see <code>SUCCESS: Specified value was saved.</code></li>
            <li>Quit command prompt by typing <code>exit</code> then pressing [Enter]</li>
          </ol>
        </li>
435
436
      </ol>
      <p>This will provide you with both Git and Bash in the Git Bash program.</p>
437
    </div>
438
    <div class="col-md-4">
439
      <h4 id="shell-macosx">Mac OS X</h4>
440
      <p>
441
442
        The default shell in all versions of Mac OS X is Bash, so no
        need to install anything.  You access Bash from the Terminal
443
        (found in
Sarah Stevens's avatar
Sarah Stevens committed
444
445
446
447
        <code>/Applications/Utilities</code>).
        See the Git installation <a href="https://www.youtube.com/watch?v=9LQhwETCdwY ">video tutorial</a>
        for an example on how to open the Terminal.
        You may want to keep
448
        Terminal in your dock for this workshop.
449
450
      </p>
    </div>
451
    <div class="col-md-4">
452
      <h4 id="shell-linux">Linux</h4>
453
      <p>
454
455
456
457
        The default shell is usually Bash, but if your
        machine is set up differently you can run it by opening a
        terminal and typing <code>bash</code>.  There is no need to
        install anything.
458
459
      </p>
    </div>
460
  </div>
Raniere Silva's avatar
Raniere Silva committed
461
</div> <!-- End of 'shell' section. -->
462

Greg Wilson's avatar
Greg Wilson committed
463
<div id="git"> <!-- Start of 'Git' section. GitHub browser compatability
464
           is given at https://help.github.com/articles/supported-browsers/-->
465
466
467
468
469
  <h3>Git</h3>
  <p>
    Git is a version control system that lets you track who made changes
    to what when and has options for easily updating a shared or public
    version of your code
470
    on <a href="https://github.com/">github.com</a>. You will need a
471
472
    <a href="https://help.github.com/articles/supported-browsers/">supported</a>
    web browser (current versions of Chrome, Firefox or Safari,
473
    or Internet Explorer version 9 or above).
474
  </p>
475
476
  <p>
    You will need an account at <a href="https://github.com/">github.com</a>
Jan T. Kim's avatar
Jan T. Kim committed
477
478
    for parts of the Git lesson. Basic GitHub accounts are free. We encourage
    you to create a GitHub account if you don't have one already.
479
480
481
    Please consider what personal information you'd like to reveal. For
    example, you may want to review these
    <a href="https://help.github.com/articles/keeping-your-email-address-private/">instructions
Jan T. Kim's avatar
Jan T. Kim committed
482
    for keeping your email address private</a> provided at GitHub.
483
  </p>
484

485
486
  <div class="row">
    <div class="col-md-4">
487
      <h4 id="git-windows">Windows</h4>
488
      <p>
489
490
        Git should be installed on your computer as part of your Bash
        install (described above).
491
492
      </p>
    </div>
493
    <div class="col-md-4">
494
      <h4 id="git-macosx">Mac OS X</h4>
495
      <a href="https://www.youtube.com/watch?v=9LQhwETCdwY ">Video Tutorial</a>
496
      <p>
Greg Wilson's avatar
Merging    
Greg Wilson committed
497
498
499
500
        <strong>For OS X 10.9 and higher</strong>, install Git for Mac
        by downloading and running the most recent "mavericks" installer from
        <a href="http://sourceforge.net/projects/git-osx-installer/files/">this list</a>.
        After installing Git, there will not be anything in your <code>/Applications</code> folder,
501
        as Git is a command line program.
Greg Wilson's avatar
Merging    
Greg Wilson committed
502
503
504
        <strong>For older versions of OS X (10.5-10.8)</strong> use the
        most recent available installer labelled "snow-leopard"
        <a href="http://sourceforge.net/projects/git-osx-installer/files/">available here</a>.
505
506
      </p>
    </div>
507
    <div class="col-md-4">
508
      <h4 id="git-linux">Linux</h4>
509
      <p>
510
511
        If Git is not already available on your machine you can try to
        install it via your distro's package manager. For Debian/Ubuntu run
512
513
        <code>sudo apt-get install git</code> and for Fedora run
        <code>sudo yum install git</code>.
514
515
      </p>
    </div>
516
  </div>
517
</div> <!-- End of 'Git' section. -->
518

Raniere Silva's avatar
Raniere Silva committed
519
520
521
522
523
524
525
526
527
<div id="editor"> <!-- Start of 'editor' section. -->
  <h3>Text Editor</h3>

  <p>
    When you're writing code, it's nice to have a text editor that is
    optimized for writing code, with features like automatic
    color-coding of key words.  The default text editor on Mac OS X and
    Linux is usually set to Vim, which is not famous for being
    intuitive.  if you accidentally find yourself stuck in it, try
Raniere Silva's avatar
Raniere Silva committed
528
    typing the escape key, followed by <code>:q!</code> (colon, lower-case 'q',
Raniere Silva's avatar
Raniere Silva committed
529
530
531
532
533
534
    exclamation mark), then hitting Return to return to the shell.
  </p>

  <div class="row">
    <div class="col-md-4">
      <h4 id="editor-windows">Windows</h4>
Sarah Stevens's avatar
Sarah Stevens committed
535
      <a href="https://www.youtube.com/watch?v=339AEqk9c-8">Video Tutorial</a>
Raniere Silva's avatar
Raniere Silva committed
536
      <p>
537
        nano is a basic editor and the default that instructors use in the workshop.
538
        To install it,
Raniere Silva's avatar
Raniere Silva committed
539
540
541
542
543
        download the <a href="{{site.swc_installer}}">Software Carpentry Windows installer</a>
        and double click on the file to run it.
        <strong>This installer requires an active internet connection.</strong>
      </p>
      <p>
Raniere Silva's avatar
Raniere Silva committed
544
        Others editors that you can use are
545
546
        <a href="http://notepad-plus-plus.org/">Notepad++</a> or
        <a href="http://www.sublimetext.com/">Sublime Text</a>.
Raniere Silva's avatar
Raniere Silva committed
547
548
        <strong>Be aware that you must
          add its installation directory to your system path.</strong>
549
        Please ask your instructor to help you do this.
Raniere Silva's avatar
Raniere Silva committed
550
551
552
553
554
      </p>
    </div>
    <div class="col-md-4">
      <h4 id="editor-macosx">Mac OS X</h4>
      <p>
555
        nano is a basic editor and the default that instructors use in the workshop.
Sarah Stevens's avatar
Sarah Stevens committed
556
557
        See the Git installation <a href="https://www.youtube.com/watch?v=9LQhwETCdwY ">video tutorial</a>
        for an example on how to open nano.
Raniere Silva's avatar
Raniere Silva committed
558
559
560
        It should be pre-installed.
      </p>
      <p>
Raniere Silva's avatar
Raniere Silva committed
561
        Others editors that you can use are
562
563
        <a href="http://www.barebones.com/products/textwrangler/">Text Wrangler</a> or
        <a href="http://www.sublimetext.com/">Sublime Text</a>.
Raniere Silva's avatar
Raniere Silva committed
564
565
566
567
568
      </p>
    </div>
    <div class="col-md-4">
      <h4 id="editor-linux">Linux</h4>
      <p>
569
        nano is a basic editor and the default that instructors use in the workshop.
Raniere Silva's avatar
Raniere Silva committed
570
571
572
        It should be pre-installed.
      </p>
      <p>
Raniere Silva's avatar
Raniere Silva committed
573
        Others editors that you can use are
Raniere Silva's avatar
Raniere Silva committed
574
        <a href="https://wiki.gnome.org/Apps/Gedit">Gedit</a>,
575
576
        <a href="http://kate-editor.org/">Kate</a> or
        <a href="http://www.sublimetext.com/">Sublime Text</a>.
Raniere Silva's avatar
Raniere Silva committed
577
578
579
580
581
      </p>
    </div>
  </div>
</div> <!-- End of 'editor' section. -->

582
<div id="python"> <!-- Start of 'Python' section. Remove the third paragraph if
583
584
585
           the workshop will teach Python using something other than
           the IPython notebook.
           Details at http://ipython.org/ipython-doc/2/install/install.html#browser-compatibility -->
586
  <h3>Python</h3>
587

588
589
590
591
  <p>
    <a href="http://python.org">Python</a> is a popular language for
    scientific computing, and great for general-purpose programming as
    well.  Installing all of its scientific packages individually can be
592
    a bit difficult, so we recommend
593
    <a href="https://www.continuum.io/anaconda">Anaconda</a>,
594
    an all-in-one installer.
595
  </p>
596

Greg Wilson's avatar
Greg Wilson committed
597
598
    <p>
      Regardless of how you choose to install it,
599
600
      <strong>please make sure you install Python version 3.x</strong>
      (e.g., 3.4 is fine).
Greg Wilson's avatar
Greg Wilson committed
601
    </p>
602

603
604
605
    <p>
      We will teach Python using the IPython notebook, a programming environment
      that runs in a web browser. For this to work you will need a reasonably
606
      up-to-date browser. The current versions of the Chrome, Safari and
Greg Wilson's avatar
Greg Wilson committed
607
608
      Firefox browsers are all
      <a href="http://ipython.org/ipython-doc/2/install/install.html#browser-compatibility">supported</a>
609
      (some older browsers, including Internet Explorer version 9
610
      and below, are not).
611
612
    </p>

613
614
  <div class="row">
    <div class="col-md-4">
615
      <h4 id="python-windows">Windows</h4>
Sarah Stevens's avatar
Sarah Stevens committed
616
      <a href="https://www.youtube.com/watch?v=xxQ0mzZ8UvA">Video Tutorial</a>
617
618
      <ol>
        <li>Open <a href="http://continuum.io/downloads">http://continuum.io/downloads</a> with your web browser.</li>
619
        <li>Download the Python 3 installer for Windows.</li>
620
621
        <li>Install Python 3 using all of the defaults for installation <em>except</em> make sure to check <strong>Make Anaconda the default Python</strong>.</li>
      </ol>
622
    </div>
623
    <div class="col-md-4">
624
      <h4 id="python-macosx">Mac OS X</h4>
Sarah Stevens's avatar
Sarah Stevens committed
625
      <a href="https://www.youtube.com/watch?v=TcSAln46u9U">Video Tutorial</a>
626
627
      <ol>
        <li>Open <a href="http://continuum.io/downloads">http://continuum.io/downloads</a> with your web browser.</li>
628
        <li>Download the Python 3 installer for OS X.</li>
629
630
        <li>Install Python 3 using all of the defaults for installation.</li>
      </ol>
631
    </div>
632
    <div class="col-md-4">
633
      <h4 id="python-linux">Linux</h4>
634
      <ol>
635
        <li>Open <a href="http://continuum.io/downloads">http://continuum.io/downloads</a> with your web browser.</li>
636
        <li>Download the Python 3 installer for Linux.</li>
637
638
639
640
        <li>Install Python 3 using all of the defaults for installation.
        (Installation requires using the shell. If you aren't
        comfortable doing the installation yourself
        stop here and request help at the workshop.)</li>
641
        <li>
642
          Open a terminal window.
643
644
        </li>
        <li>
645
          Type <pre>bash Anaconda3-</pre> and then press
646
647
          tab. The name of the file you just downloaded should
          appear.
648
649
        </li>
        <li>
650
651
652
653
654
655
656
          Press enter. You will follow the text-only prompts.  When
          there is a colon at the bottom of the screen press the down
          arrow to move down through the text. Type <code>yes</code> and
          press enter to approve the license. Press enter to approve the
          default location for the files. Type <code>yes</code> and
          press enter to prepend Anaconda to your <code>PATH</code>
          (this makes the Anaconda distribution the default Python).
657
        </li>
658
659
      </ol>
    </div>
660
  </div>
661
<!--
662
663
664
665
666
  <p>
  Once you are done installing the software listed above,
  please go to <a href="setup/index.html">this page</a>,
  which has instructions on how to test that everything was installed correctly.
  </p>
667
-->
668
</div> <!-- End of 'Python' section. -->
669

670
<div id="r"> <!-- Start of 'R' section. -->
671
  <h3>R</h3>
672

673
674
675
676
677
678
  <p>
    <a href="http://www.r-project.org">R</a> is a programming language
    that is especially powerful for data exploration, visualization, and
    statistical analysis. To interact with R, we use
    <a href="http://www.rstudio.com/">RStudio</a>.
  </p>
679

680
681
  <div class="row">
    <div class="col-md-4">
682
      <h4 id="r-windows">Windows</h4>
Sarah Stevens's avatar
Sarah Stevens committed
683
      <a href="https://www.youtube.com/watch?v=q0PjTAylwoU">Video Tutorial</a>
684
      <p>
685
686
687
688
689
        Install R by downloading and running
        <a href="http://cran.r-project.org/bin/windows/base/release.htm">this .exe file</a>
        from <a href="http://cran.r-project.org/index.html">CRAN</a>.
        Also, please install the
        <a href="http://www.rstudio.com/ide/download/desktop">RStudio IDE</a>.
690
691
692
693
        Note that if you have separate user and admin accounts, you should run the 
        installers as administrator (right-click on .exe file and select "Run as 
        administrator" instead of double-clicking). Otherwise problems may occur later, 
        for example when installing R packages.
694
695
      </p>
    </div>
696
    <div class="col-md-4">
697
      <h4 id="r-macosx">Mac OS X</h4>
Sarah Stevens's avatar
Sarah Stevens committed
698
      <a href="https://www.youtube.com/watch?v=5-ly3kyxwEg">Video Tutorial</a>
699
      <p>
700
701
702
703
704
        Install R by downloading and running
        <a href="http://cran.r-project.org/bin/macosx/R-latest.pkg">this .pkg file</a>
        from <a href="http://cran.r-project.org/index.html">CRAN</a>.
        Also, please install the
        <a href="http://www.rstudio.com/ide/download/desktop">RStudio IDE</a>.
705
706
      </p>
    </div>
707
    <div class="col-md-4">
708
      <h4 id="r-linux">Linux</h4>
709
      <p>
710
711
712
713
        You can download the binary files for your distribution
        from <a href="http://cran.r-project.org/index.html">CRAN</a>. Or
        you can use your package manager (e.g. for Debian/Ubuntu
        run <code>sudo apt-get install r-base</code> and for Fedora run
714
        <code>sudo yum install R</code>).  Also, please install the
715
        <a href="http://www.rstudio.com/ide/download/desktop">RStudio IDE</a>.
716
717
      </p>
    </div>
718
  </div>
719
</div> <!-- End of 'R' section. -->
720

721
<div id="sql"> <!-- Start of 'SQLite' section. -->
722
  <h3>SQLite</h3>
723

724
725
726
727
728
  <p>
    SQL is a specialized programming language used with databases.  We
    use a simple database manager called
    <a href="http://www.sqlite.org/">SQLite</a> in our lessons.
  </p>
729

730
731
  <div class="row">
    <div class="col-md-4">
732
      <h4 id="sql-windows">Windows</h4>
733
      <p>
734
        The <a href="{{site.swc_installer}}">Software Carpentry Windows Installer</a>
735
736
        installs SQLite for Windows.
        If you used the installer to configure nano, you don't need to run it again.
737
738
      </p>
    </div>
739
    <div class="col-md-4">
740
      <h4 id="sql-macosx">Mac OS X</h4>
741
      <p>
742
        SQLite comes pre-installed on Mac OS X.
743
744
      </p>
    </div>
745
    <div class="col-md-4">
746
      <h4 id="sql-linux">Linux</h4>
747
      <p>
748
        SQLite comes pre-installed on Linux.
749
750
      </p>
    </div>
751
  </div>
752
753

  <p><strong>If you installed Anaconda, it also has a copy of SQLite
Raniere Silva's avatar
Raniere Silva committed
754
    <a href="https://github.com/ContinuumIO/anaconda-issues/issues/307">without support to <code>readline</code></a>.
755
    Instructors will provide a workaround for it if needed.</strong></p>
756
</div> <!-- End of 'SQLite' section. -->
757

758
759
<!--
  Uncomment this section if you are using our virtual machine.
760

761
<div id="vm">
762
  <h3>Virtual Machine</h3>
763

764
765
766
767
768
769
770
771
772
773
  <p>
    Some instructors prefer to have learners use a virtual machine (VM)
    rather than install software on their own computers.  If your
    instructors have chosen to do this, please:
  </p>
  <ol>
    <li>
      Install <a href="https://www.virtualbox.org/">VirtualBox</a>.
    </li>
    <li>
774
      Download our <a href="{{site.swc_vm}}">VM image</a>.
775
776
777
778
779
780
781
782
783
784
      <strong>Warning:</strong> this file is 1.7 GByte, so please
      download it <em>before</em> coming to your workshop.
    </li>
    <li>
      Load the VM into VirtualBox by selecting "Import Appliance" and
      loading the <code>.ova</code> file.
    </li>
  </ol>
</div>
-->