Skip to content

Commit f45a3e9

Browse files
improvements to setup
1 parent 6670e64 commit f45a3e9

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

source/setup.Rmd

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,16 @@ all software packages needed run the worksheets that come with this book.
6868

6969
### Ubuntu
7070

71-
To install Docker on Ubuntu, open the terminal and enter the following five commands.
71+
**Installation** To install Docker on Ubuntu, open the terminal and enter the following five commands.
7272
```
7373
sudo apt update
7474
sudo apt install ca-certificates curl gnupg
7575
curl -fsSL https://get.docker.com -o get-docker.sh
7676
sudo chmod u+x get-docker.sh
7777
sudo sh get-docker.sh
7878
```
79-
Then in the terminal, navigate to the directory where you want to run JupyterLab, and run
79+
80+
**Running JupyterLab** In the terminal, navigate to the directory where you want to run JupyterLab, and run
8081
the following command.
8182
```
8283
docker run --rm -v $(pwd):/home/jovyan/work -p 8888:8888 ubcdsci/r-dsci-100:20230724142640d8f06f jupyter lab
@@ -94,7 +95,7 @@ More information on installing and running Docker on Ubuntu, as well as troubles
9495

9596
### MacOS
9697

97-
To install Docker on MacOS, visit [the online Docker
98+
**Installation** To install Docker on MacOS, visit [the online Docker
9899
documentation](https://docs.docker.com/desktop/install/mac-install/), and
99100
download the `Docker.dmg` installation file that is appropriate for your
100101
computer (you need to know whether your computer has an Intel processor an
@@ -103,15 +104,14 @@ the Docker icon to the Applications folder. Double-click Docker.app in the
103104
Applications folder to start Docker. In the installation window, use the
104105
recommended settings.
105106

106-
Once Docker is installed and running, follow the instructions below in the Windows section
107-
for finding and running the virtual machine we have made available for this book.
108-
More information on installing and running
107+
**Running JupyterLab** Once Docker is installed and running, follow the instructions below in
108+
the Windows section on *Running JupyterLab* (the user interface is the same). More information on installing and running
109109
Docker on MacOS, as well as troubleshooting tips, can be found [in the online
110110
Docker documentation](https://docs.docker.com/desktop/install/mac-install/).
111111

112112
### Windows
113113

114-
To install Docker on Windows, visit [the online Docker documentation](https://docs.docker.com/desktop/install/windows-install/),
114+
**Installation** To install Docker on Windows, visit [the online Docker documentation](https://docs.docker.com/desktop/install/windows-install/),
115115
and download the `Docker Desktop Installer.exe` file. Double-click the file to open the installer
116116
and follow the instructions on the installation wizard, choosing **WSL-2** instead of **Hyper-V** when prompted.
117117

@@ -129,8 +129,7 @@ More information on installing and running
129129
Docker on Windows, as well as troubleshooting tips, can be found [in the online
130130
Docker documentation](https://docs.docker.com/desktop/install/windows-install/).
131131

132-
133-
Once Docker is running (in either Windows or MacOS), you need to download and run the virtual machine that we have made available
132+
**Running JupyterLab** Once Docker is running (in either Windows or MacOS), you need to download and run the virtual machine that we have made available
134133
for the worksheets. In the search bar, enter `ubcdsci/r-dsci-100`, as this is the name of the virtual machine image. You will be presented
135134
with a few options (Figure \@ref(fig:docker-desktop-search)). In the "Tag" drop down menu, click the tag `20230724142640d8f06f` to select the
136135
correct version of the image. Then click the "Pull" button to download the image.
@@ -186,7 +185,7 @@ JupyterLab Desktop, the JupyterLab Git extension, and all of the R packages need
186185

187186
### Ubuntu
188187

189-
First, we will install Git for version control.
188+
**Installation** First, we will install Git for version control.
190189
Open the terminal and type the following commands:
191190
```
192191
sudo apt update
@@ -202,6 +201,7 @@ Run JupyterLab Desktop using the command
202201
```
203202
jlab
204203
```
204+
**Configuring JupyterLab Desktop**
205205
Next, in the JupyterLab Desktop graphical interface that appears (Figure \@ref(fig:setup-jlab-gui)),
206206
you will see text at the bottom saying "Python environment not found". Click "Install using the bundled installer"
207207
to set up the environment.
@@ -250,7 +250,7 @@ correctly set up and ready for use.
250250
251251
### Windows
252252
253-
First, we will install Git for version control.
253+
**Installation** First, we will install Git for version control.
254254
Go to [the Git download page](https://git-scm.com/download/win) and
255255
download the Windows version of Git. Once the download has finished, run the installer and accept
256256
the default configuration for all pages.
@@ -259,15 +259,15 @@ Download the `JupyterLab-Setup-Windows.exe` installer file for Windows.
259259
Double-click the installer to run it, use the default settings.
260260
Run JupyterLab Desktop by clicking the icon on your desktop.
261261
262-
From this point onward, with JupyterLab Desktop running,
262+
**Configuring JupyterLab Desktop** From this point onward, with JupyterLab Desktop running,
263263
follow the instructions in the Ubuntu section on how to set up the
264264
environment, install the JupyterLab Git extension, and install
265265
the various R software packages needed for the worksheets.
266266
267267
268268
### MacOS
269269
270-
First, we will install Git for version control.
270+
**Installation** First, we will install Git for version control.
271271
Open the terminal ([how-to video](https://youtu.be/5AJbWEWwnbY))
272272
and type the following command:
273273
@@ -282,7 +282,7 @@ the JupyterLab Desktop icon to the Applications folder. Double-click
282282
the icon in the
283283
Applications folder to start JupyterLab Desktop.
284284
285-
From this point onward, with JupyterLab Desktop running,
285+
**Configuring JupyterLab Desktop** From this point onward, with JupyterLab Desktop running,
286286
follow the instructions in the Ubuntu section on how to set up the
287287
environment, install the JupyterLab Git extension, and install
288288
the various R software packages needed for the worksheets.

0 commit comments

Comments
 (0)