From a1d47b0450c3b25a2970866d3ef644e010916646 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kyrre=20Traavik=20L=C3=A5berg?= Date: Fri, 6 Dec 2024 15:04:01 +0100 Subject: [PATCH] Update sql.html --- _includes/install_instructions/sql.html | 61 +++++++++++++------------ 1 file changed, 32 insertions(+), 29 deletions(-) diff --git a/_includes/install_instructions/sql.html b/_includes/install_instructions/sql.html index 365ee6e..3eda6df 100644 --- a/_includes/install_instructions/sql.html +++ b/_includes/install_instructions/sql.html @@ -1,53 +1,56 @@

SQLite

-

- SQL is a specialized programming language used with databases. We - use a database manager called - SQLite in our lessons. -

+ +

    -
  • Run "Git Bash" from the Start menu
  • -
  • Copy the following curl -fsSL {{site.url}}{{site.baseurl}}/getsql.sh | bash
  • -
  • Paste it into the window that Git Bash opened. If you're unsure, ask an instructor for help
  • -
  • You should see something like 3.27.2 2019-02-25 16:06:06 ...
  • +
  • Download the Windows installer for DB Browser.
  • +
  • It will download directly, check your downloads folder and install it on your laptop.
  • +
  • + NOTE: If you are unable to get admin rights on your laptop, you can download a + "portable" version of DB browser that does not require admin to install. +
  • +
  • But please do install the regular version of DB Browser if you can.
- -

If you want to do this manually, download sqlite3, 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.

-
-

- SQLite comes pre-installed on macOS. -

+
    +
  • Go to the DB Browser download page.
  • +
  • Scroll down to the MacOS section and download and install the version of DB Browser that suits your mac.
  • +
  • NOTE: If you are unsure if you have an Intel or an Apple Silicon mac, check this help page from apple.
  • +
-

- SQLite comes pre-installed on Linux. -

-
-
    -
  • In case of problems: register for an account at https://www.pythonanywhere.com
  • -
  • Download survey.db
  • -
  • Click on files and upload survey.db
  • -
  • Click on dashboard and Choose new console bash
  • +
  • Go to the DB Browser download page.
  • +
  • Scroll down to the Linux section.
  • +
  • Download and install the AppImage or Snap package.
- -

If you installed Anaconda, it also has a copy of SQLite - without support to readline. - Instructors will provide a workaround for it if needed.