Skip to content

Commit a1d47b0

Browse files
authored
Update sql.html
1 parent 0cefa67 commit a1d47b0

File tree

1 file changed

+32
-29
lines changed

1 file changed

+32
-29
lines changed
Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,56 @@
11
<div id="sql">
22
<h3>SQLite</h3>
3-
43
<p>
5-
SQL is a specialized programming language used with databases. We
6-
use a database manager called
7-
<a href="https://www.sqlite.org/">SQLite</a> in our lessons.
8-
</p>
4+
<ul>
5+
<li>
6+
SQL is a specialized programming language used with databases. We use the database manager called SQLite in our lessons.
7+
</li>
8+
<li>
9+
We will use a database called Survey.db for the workshop. Download it from here: <a href="https://swcarpentry.github.io/sql-novice-survey/files/survey.db" target="_blank" rel="noopener noreferrer">https://swcarpentry.github.io/sql-novice-survey/files/survey.db</a>
10+
and place it somewhere easily accessible on your computer, such as your document folder or desktop. It will download directly, check your downloads folder.
11+
If you have issues downloading the file, copy and paste the url in a new browser window.
12+
</li>
13+
<li>
14+
The program we will use to interact with the SQLite database is a GUI called DB Browser - see below for operating system instructions.
15+
</li>
16+
<li>
17+
Note that you will require a laptop to participate in the workshop, so do the setup on a laptop you are familiar with, if you can.
18+
</li>
19+
</ul>
920

21+
</p>
1022
<div>
1123
<ul class="nav nav-tabs" role="tablist">
1224
<li role="presentation" class="active"><a data-os="windows" href="#sql-windows" aria-controls="Windows" role="tab" data-toggle="tab">Windows</a></li>
1325
<li role="presentation"><a data-os="macos" href="#sql-macos" aria-controls="MacOS" role="tab" data-toggle="tab">MacOS</a></li>
1426
<li role="presentation"><a data-os="linux" href="#sql-linux" aria-controls="Linux" role="tab" data-toggle="tab">Linux</a></li>
15-
<li role="presentation"><a data-os="web" href="#sql-web" aria-controls="Web" role="tab" data-toggle="tab">Web</a></li>
1627
</ul>
1728
<div class="tab-content">
1829
<article role="tabpanel" class="tab-pane active" id="sql-windows">
1930
<ul>
20-
<li>Run "Git Bash" from the Start menu</li>
21-
<li>Copy the following <code>curl -fsSL {{site.url}}{{site.baseurl}}/getsql.sh | bash</code></li>
22-
<li>Paste it into the window that Git Bash opened. If you're unsure, ask an instructor for help</li>
23-
<li>You should see something like <code>3.27.2 2019-02-25 16:06:06 ...</code></li>
31+
<li>Download the <a href="https://download.sqlitebrowser.org/DB.Browser.for.SQLite-3.12.2-win64.msi">Windows installer for DB Browser</a>.</li>
32+
<li>It will download directly, check your downloads folder and install it on your laptop.</li>
33+
<li>
34+
<b>NOTE:</b> If you are unable to get admin rights on your laptop, you can download a
35+
<a href="https://sqlitebrowser.org/blog/portableapp-for-3-12-0-release-now-available/">"portable" version of DB browser</a> that does not require admin to install.
36+
</li>
37+
<li>But please do install the regular version of DB Browser if you can.</li>
2438
</ul>
25-
26-
<p>If you want to do this manually, download <a href="https://www.sqlite.org/2019/sqlite-tools-win32-x86-3270200.zip">sqlite3</a>, make a bin directory in the user's home directory, unzip sqlite3, move it into the bin directory, and then add the bin directory to the path.</p>
27-
2839
</article>
2940
<article role="tabpanel" class="tab-pane" id="sql-macos">
30-
<p>
31-
SQLite comes pre-installed on macOS.
32-
</p>
41+
<ul>
42+
<li>Go to the <a href="https://sqlitebrowser.org/dl/">DB Browser download page</a>.</li>
43+
<li>Scroll down to the MacOS section and download and install the version of DB Browser that suits your mac.</li>
44+
<li><b>NOTE:</b> If you are unsure if you have an Intel or an Apple Silicon mac, check <a href="https://support.apple.com/en-us/116943">this help page from apple</a>.</li>
45+
</ul>
3346
</article>
3447
<article role="tabpanel" class="tab-pane" id="sql-linux">
35-
<p>
36-
SQLite comes pre-installed on Linux.
37-
</p>
38-
</article>
39-
<article role="tabpanel" class="tab-pane" id="sql-web">
4048
<ul>
41-
<li>In case of problems: register for an account at <a href="https://www.pythonanywhere.com/">https://www.pythonanywhere.com</a></li>
42-
<li>Download <a href="http://swcarpentry.github.io/sql-novice-survey/files/survey.db">survey.db</a></li>
43-
<li>Click on files and upload survey.db</li>
44-
<li>Click on dashboard and Choose new console <code>bash</code></li>
49+
<li>Go to the <a href="https://sqlitebrowser.org/dl/">DB Browser download page</a>.</li>
50+
<li>Scroll down to the Linux section.</li>
51+
<li>Download and install the AppImage or Snap package.</li>
4552
</ul>
4653
</article>
4754
</div>
4855
</div>
49-
50-
<p><strong>If you installed Anaconda, it also has a copy of SQLite
51-
<a href="https://github.com/ContinuumIO/anaconda-issues/issues/307">without support to <code>readline</code></a>.
52-
Instructors will provide a workaround for it if needed.</strong></p>
5356
</div>

0 commit comments

Comments
 (0)