Skip to content

Commit f54fcd3

Browse files
author
Tania Allard
committed
Fixed setup
1 parent 9e50d8f commit f54fcd3

File tree

3 files changed

+58
-54
lines changed

3 files changed

+58
-54
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ The slides for the workshop can be found here:
1313

1414
We will encourage discussions over the workshop, for this purpose we will be using an Etherpad. Click on the following link: [https://public.etherpad-mozilla.org/p/ReproduciblePython](https://public.etherpad-mozilla.org/p/ReproduciblePython)
1515

16-
16+
## What do I need for this workshop?
17+
The installation instructions can be found at [http://bitsandchips.me/ReproduciblePython/Setup.html](http://bitsandchips.me/ReproduciblePython/Setup.html)
1718

1819

1920
---

Setup.ipynb

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
" <!-- Completing the Git Setup Wizard -->\n",
7575
" <li>Click on \"Finish\".</li>\n",
7676
" </ol>\n",
77-
" </li>\n",
7877
" <li>\n",
7978
" If your \"HOME\" environment variable is not set (or you don't know what this is):\n",
8079
" <ol>\n",
@@ -84,11 +83,9 @@
8483
" <p><code>setx HOME \"%USERPROFILE%\"</code></p>\n",
8584
" </li>\n",
8685
" <li>Press [Enter], you should see <code>SUCCESS: Specified value was saved.</code></li>\n",
87-
" <li>Quit command prompt by typing <code>exit</code> then pressing [Enter]</li>\n",
88-
" </ol>\n",
89-
" </li>\n",
90-
" </ol>\n",
91-
" <p>This will provide you with both Git and Bash in the Git Bash program.</p>\n",
86+
" <li>Quit command prompt by typing <code>exit</code> then pressing [Enter]</li>\n",
87+
" \n",
88+
"This will provide you with both Git and Bash in the Git Bash program.\n",
9289
"\n",
9390
"\n",
9491
"📌 **MAC OS X**\n",
@@ -139,14 +136,16 @@
139136
" \n",
140137
"📌 **MAC OS X**\n",
141138
"\n",
142-
" <strong>For OS X 10.9 and higher</strong>, install Git for Mac\n",
143-
" by downloading and running the most recent \"mavericks\" installer from\n",
144-
" <a href=\"http://sourceforge.net/projects/git-osx-installer/files/\">this list</a>.\n",
145-
" After installing Git, there will not be anything in your <code>/Applications</code> folder,\n",
146-
" as Git is a command line program.\n",
147-
" <strong>For older versions of OS X (10.5-10.8)</strong> use the\n",
148-
" most recent available installer labelled \"snow-leopard\"\n",
149-
" <a href=\"http://sourceforge.net/projects/git-osx-installer/files/\">available here</a>.\n",
139+
"<strong>For OS X 10.9 and higher</strong>, install Git for Mac\n",
140+
"by downloading and running the most recent \"mavericks\" installer from\n",
141+
"<a href=\"http://sourceforge.net/projects/git-osx-installer/files/\">this list</a>.\n",
142+
"After installing Git, there will not be anything in your <code>/Applications</code> folder,\n",
143+
"as Git is a command line program.\n",
144+
"\n",
145+
"\n",
146+
"<strong>For older versions of OS X (10.5-10.8)</strong> use the\n",
147+
"most recent available installer labelled \"snow-leopard\"\n",
148+
"<a href=\"http://sourceforge.net/projects/git-osx-installer/files/\">available here</a>.\n",
150149
" \n",
151150
"📌 **Linux** \n",
152151
"\n",
@@ -226,13 +225,15 @@
226225
"2. Make sure you know where you saved the file\n",
227226
"3. Open your shell and navigate to the location of the file, for example if you saved it in Desktop you would type in `cd Desktop`\n",
228227
"4. Type in the following command to create an environment fro the file:\n",
229-
"```bash\n",
228+
"<pre><code>\n",
230229
"conda env create -f environment.yml\n",
231-
"```\n",
232-
"You should see the packages being installed. Note it could take a while so you can go and grab yourself a cup of coffee or tea ☕\n",
230+
"</code></pre>\n",
233231
"\n",
234232
"\n",
235-
"If you have never used Jupyter notebooks you could have a look at this [Tutorial](https://www.dataquest.io/blog/jupyter-notebook-tutorial/) before the workshop.\n"
233+
"You should see the packages being installed. Note it could take a while so you can go and grab yourself a cup of coffee or tea ☕\n",
234+
"\n",
235+
"---\n",
236+
"⭐ If you have never used Jupyter notebooks you could have a look at this [Tutorial](https://www.dataquest.io/blog/jupyter-notebook-tutorial/) to familiarize yourself before the \n"
236237
]
237238
},
238239
{
@@ -248,7 +249,7 @@
248249
"\n",
249250
"Go to the [GitHub homepage](https://github.com/) to register for a new account, you should see the following page\n",
250251
"\n",
251-
"<img src='./assets/gh.png' width=80%>\n",
252+
"<img src='https://github.com/trallard/ReproduciblePython/blob/master/assets/GH.png?raw=true' width=80%>\n",
252253
"\n",
253254
"\n",
254255
"- Choose a username, email address and password.\n",
@@ -260,12 +261,12 @@
260261
"\n",
261262
"Go to [https://travis-ci.org/](https://travis-ci.org/), if you do not have an account yet you should see the following landing page:\n",
262263
"\n",
263-
"<img src='./assets/travis1.png' width=80%>\n",
264+
"<img src='https://github.com/trallard/ReproduciblePython/blob/master/assets/travis1.PNG?raw=true' width=80%>\n",
264265
"\n",
265266
"Click on the green *Sign up* button and login using your GitHub username and password\n",
266267
"\n",
267268
"\n",
268-
"<img src='./assets/travis2.png'>"
269+
"<img src='https://github.com/trallard/ReproduciblePython/blob/master/assets/travis2.PNG?raw=true'>"
269270
]
270271
},
271272
{

docs/Setup.html

Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -8451,15 +8451,15 @@
84518451
}
84528452
/* Flexible box model classes */
84538453
/* Taken from Alex Russell http://infrequently.org/2009/08/css-3-progress/ */
8454-
/* This file is a compatability layer. It allows the usage of flexible box
8454+
/* This file is a compatability layer. It allows the usage of flexible box
84558455
model layouts accross multiple browsers, including older browsers. The newest,
84568456
universal implementation of the flexible box model is used when available (see
8457-
`Modern browsers` comments below). Browsers that are known to implement this
8457+
`Modern browsers` comments below). Browsers that are known to implement this
84588458
new spec completely include:
84598459
84608460
Firefox 28.0+
84618461
Chrome 29.0+
8462-
Internet Explorer 11+
8462+
Internet Explorer 11+
84638463
Opera 17.0+
84648464
84658465
Browsers not listed, including Safari, are supported via the styling under the
@@ -11233,7 +11233,7 @@
1123311233
background: #f7f7f7;
1123411234
border-top: 1px solid #cfcfcf;
1123511235
border-bottom: 1px solid #cfcfcf;
11236-
/* This injects handle bars (a short, wide = symbol) for
11236+
/* This injects handle bars (a short, wide = symbol) for
1123711237
the resize handle. */
1123811238
}
1123911239
div#pager .ui-resizable-handle::after {
@@ -11672,7 +11672,7 @@
1167211672
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
1167311673
</style>
1167411674
<style type="text/css">
11675-
11675+
1167611676
/* Temporary definitions which will become obsolete with Notebook release 5.0 */
1167711677
.ansi-black-fg { color: #3E424D; }
1167811678
.ansi-black-bg { background-color: #3E424D; }
@@ -11726,14 +11726,14 @@
1172611726
div.cell {
1172711727
display: block;
1172811728
page-break-inside: avoid;
11729-
}
11730-
div.output_wrapper {
11729+
}
11730+
div.output_wrapper {
1173111731
display: block;
11732-
page-break-inside: avoid;
11732+
page-break-inside: avoid;
1173311733
}
11734-
div.output {
11734+
div.output {
1173511735
display: block;
11736-
page-break-inside: avoid;
11736+
page-break-inside: avoid;
1173711737
}
1173811738
}
1173911739
</style>
@@ -11830,7 +11830,6 @@ <h3 id="The-Bash-shell">The Bash shell<a class="anchor-link" href="#The-Bash-she
1183011830
<!-- Completing the Git Setup Wizard -->
1183111831
<li>Click on "Finish".</li>
1183211832
</ol>
11833-
&lt;/li&gt;
1183411833
<li>
1183511834
If your "HOME" environment variable is not set (or you don't know what this is):
1183611835
<ol>
@@ -11840,11 +11839,10 @@ <h3 id="The-Bash-shell">The Bash shell<a class="anchor-link" href="#The-Bash-she
1184011839
<p><code>setx HOME "%USERPROFILE%"</code></p>
1184111840
</li>
1184211841
<li>Press [Enter], you should see <code>SUCCESS: Specified value was saved.</code></li>
11843-
<li>Quit command prompt by typing <code>exit</code> then pressing [Enter]</li>
11844-
&lt;/ol&gt;
11845-
&lt;/li&gt;
11846-
&lt;/ol&gt;
11847-
<p>This will provide you with both Git and Bash in the Git Bash program.</p></p>
11842+
<li>Quit command prompt by typing <code>exit</code> then pressing [Enter]</li></p>
11843+
</ol></ol>
11844+
11845+
<p>This will provide you with both Git and Bash in the Git Bash program.</p>
1184811846
<p>📌 <strong>MAC OS X</strong></p>
1184911847
<p>The default shell in all versions of Mac OS X is Bash, so no
1185011848
need to install anything. You access Bash from the Terminal
@@ -11886,13 +11884,13 @@ <h3 id="Git">Git<a class="anchor-link" href="#Git">&#182;</a></h3><p>Git is a ve
1188611884
install (described above).</p>
1188711885
<p>📌 <strong>MAC OS X</strong></p>
1188811886
<p><strong>For OS X 10.9 and higher</strong>, install Git for Mac
11889-
by downloading and running the most recent "mavericks" installer from
11890-
<a href="http://sourceforge.net/projects/git-osx-installer/files/">this list</a>.
11891-
After installing Git, there will not be anything in your <code>/Applications</code> folder,
11892-
as Git is a command line program.
11893-
<strong>For older versions of OS X (10.5-10.8)</strong> use the
11894-
most recent available installer labelled "snow-leopard"
11895-
<a href="http://sourceforge.net/projects/git-osx-installer/files/">available here</a>.</p>
11887+
by downloading and running the most recent "mavericks" installer from
11888+
<a href="http://sourceforge.net/projects/git-osx-installer/files/">this list</a>.
11889+
After installing Git, there will not be anything in your <code>/Applications</code> folder,
11890+
as Git is a command line program.</p>
11891+
<p><strong>For older versions of OS X (10.5-10.8)</strong> use the
11892+
most recent available installer labelled "snow-leopard"
11893+
<a href="http://sourceforge.net/projects/git-osx-installer/files/">available here</a>.</p>
1189611894
<p>📌 <strong>Linux</strong></p>
1189711895
<p>If Git is not already available on your machine you can try to
1189811896
install it via your distro's package manager. For Debian/Ubuntu run
@@ -11914,6 +11912,7 @@ <h3 id="&#128013;-Python">&#128013; Python<a class="anchor-link" href="#&#128013
1191411912
<li>Download the Python 3 installer for Windows.</li>
1191511913
<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>
1191611914
</ol></p>
11915+
1191711916
<p>📌 <strong>MAC OS X</strong></p>
1191811917
<p><a href="https://www.youtube.com/watch?v=TcSAln46u9U">Video Tutorial</a>
1191911918
<ol>
@@ -11962,11 +11961,14 @@ <h3 id="Installing-additional-packages">Installing additional packages<a class="
1196211961
<li>Download <a href="https://raw.githubusercontent.com/trallard/ReproduciblePython/master/environment.yml">environment.yml</a> to your local computer by right-clicking on the following link: <a href="https://raw.githubusercontent.com/trallard/ReproduciblePython/master/environment.yml">environment.yml</a></li>
1196311962
<li>Make sure you know where you saved the file</li>
1196411963
<li>Open your shell and navigate to the location of the file, for example if you saved it in Desktop you would type in <code>cd Desktop</code></li>
11965-
<li>Type in the following command to create an environment fro the file:<div class="highlight"><pre><span></span>conda env create -f environment.yml
11966-
</pre></div>
11967-
You should see the packages being installed. Note it could take a while so you can go and grab yourself a cup of coffee or tea ☕</li>
11968-
</ol>
11969-
<p>If you have never used Jupyter notebooks you could have a look at this <a href="https://www.dataquest.io/blog/jupyter-notebook-tutorial/">Tutorial</a> before the workshop.</p>
11964+
<li>Type in the following command to create an environment fro the file:</li></ol>
11965+
<pre><code>
11966+
conda env create -f environment.yml
11967+
</code></pre>
11968+
11969+
<p>You should see the packages being installed. Note it could take a while so you can go and grab yourself a cup of coffee or tea ☕</p>
11970+
<hr>
11971+
<p>⭐ If you have never used Jupyter notebooks you could have a look at this <a href="https://www.dataquest.io/blog/jupyter-notebook-tutorial/">Tutorial</a> to familiarize yourself before the</p>
1197011972

1197111973
</div>
1197211974
</div>
@@ -11977,17 +11979,17 @@ <h3 id="Installing-additional-packages">Installing additional packages<a class="
1197711979
<div class="text_cell_render border-box-sizing rendered_html">
1197811980
<h2 id="Getting-your-accounts-ready">Getting your accounts ready<a class="anchor-link" href="#Getting-your-accounts-ready">&#182;</a></h2><h3 id="GitHub">GitHub<a class="anchor-link" href="#GitHub">&#182;</a></h3><p><br></p>
1197911981
<div class='warn'> Note you do not need to do the following if you already have a GitHub account. You only need to make sure you know your username and password </div><p>Go to the <a href="https://github.com/">GitHub homepage</a> to register for a new account, you should see the following page</p>
11980-
<p>&lt;img src='./assets/gh.png' width=80%&gt;</p>
11982+
<img src="https://github.com/trallard/ReproduciblePython/blob/master/assets/GH.png?raw=true">
1198111983
<ul>
1198211984
<li>Choose a username, email address and password.</li>
1198311985
<li>Click the green <em>Sign up</em> button</li>
1198411986
<li>Confirm your email address</li>
1198511987
<li>Choose the personal default plan</li>
1198611988
</ul>
1198711989
<h3 id="Travis-CI">Travis CI<a class="anchor-link" href="#Travis-CI">&#182;</a></h3><p>Go to <a href="https://travis-ci.org/">https://travis-ci.org/</a>, if you do not have an account yet you should see the following landing page:</p>
11988-
<p>&lt;img src='./assets/travis1.png' width=80%&gt;</p>
11990+
<p><img src='https://github.com/trallard/ReproduciblePython/blob/master/assets/travis1.PNG?raw=true'></p>
1198911991
<p>Click on the green <em>Sign up</em> button and login using your GitHub username and password</p>
11990-
<p><img src='./assets/travis2.png'></p>
11992+
<p><img src='https://github.com/trallard/ReproduciblePython/blob/master/assets/travis2.PNG?raw=true'></p>
1199111993

1199211994
</div>
1199311995
</div>
@@ -12151,7 +12153,7 @@ <h2 id="Additional-notes">Additional notes<a class="anchor-link" href="#Addition
1215112153
</div>
1215212154
</body>
1215312155

12154-
12156+
1215512157

1215612158

1215712159
</html>

0 commit comments

Comments
 (0)