Skip to content

Commit

Permalink
Update sql.html
Browse files Browse the repository at this point in the history
  • Loading branch information
chennesy authored Jul 1, 2024
1 parent ca118d1 commit ba12b19
Showing 1 changed file with 4 additions and 47 deletions.
51 changes: 4 additions & 47 deletions _includes/install_instructions/sql.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,52 +2,9 @@
<h3>SQLite</h3>

<p>
SQL is a specialized programming language used with databases. We
use a database manager called
<a href="https://www.sqlite.org/">SQLite</a> in our lessons.
SQL is a specialized programming language used with databases.
You will want to configure your computer so that you have a Bash Shell so that you can use the command line, and you will also need to install
<a href="https://www.sqlite.org/">SQLite</a>.
</p>

<div>
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a data-os="windows" href="#sql-windows" aria-controls="Windows" role="tab" data-toggle="tab">Windows</a></li>
<li role="presentation"><a data-os="macos" href="#sql-macos" aria-controls="MacOS" role="tab" data-toggle="tab">MacOS</a></li>
<li role="presentation"><a data-os="linux" href="#sql-linux" aria-controls="Linux" role="tab" data-toggle="tab">Linux</a></li>
<li role="presentation"><a data-os="web" href="#sql-web" aria-controls="Web" role="tab" data-toggle="tab">Web</a></li>
</ul>
<div class="tab-content">
<article role="tabpanel" class="tab-pane active" id="sql-windows">
<ul>
<li>Run "Git Bash" from the Start menu</li>
<li>Copy the following <code>curl -fsSL {{site.url}}{{site.baseurl}}/getsql.sh | bash</code></li>
<li>Paste it into the window that Git Bash opened. If you're unsure, ask an instructor for help</li>
<li>You should see something like <code>3.27.2 2019-02-25 16:06:06 ...</code></li>
</ul>

<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>

</article>
<article role="tabpanel" class="tab-pane" id="sql-macos">
<p>
SQLite comes pre-installed on macOS.
</p>
</article>
<article role="tabpanel" class="tab-pane" id="sql-linux">
<p>
SQLite comes pre-installed on Linux.
</p>
</article>
<article role="tabpanel" class="tab-pane" id="sql-web">
<ul>
<li>In case of problems: register for an account at <a href="https://www.pythonanywhere.com/">https://www.pythonanywhere.com</a></li>
<li>Download <a href="http://swcarpentry.github.io/sql-novice-survey/files/survey.db">survey.db</a></li>
<li>Click on files and upload survey.db</li>
<li>Click on dashboard and Choose new console <code>bash</code></li>
</ul>
</article>
</div>
</div>

<p><strong>If you installed Anaconda, it also has a copy of SQLite
<a href="https://github.com/ContinuumIO/anaconda-issues/issues/307">without support to <code>readline</code></a>.
Instructors will provide a workaround for it if needed.</strong></p>
<p>Please see the <a href='https://umn-dash.github.io/sql-novice-survey/setup.html'>Databases & SQL lesson Setup page</a> for installation instructions.</p>
</div>

0 comments on commit ba12b19

Please sign in to comment.