Skip to content

FinHubSA/fintechlab-summerschool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Development Environment Setup Guide

This guide walks you through installing and configuring the tools needed for the workshop.
By the end, you should be able to use VS Code with Bash, Python 3.14, Node.js, Docker, and Git/GitHub.

Table of Contents

  1. End Goal (Checklist)
  2. Install Visual Studio Code
  3. Enable Bash Terminal in VS Code
  4. Install Git and Configure It
  5. Create a GitHub Account & Sign In from VS Code
  6. Install Python 3.14
  7. Install Node.js
  8. Install Docker
  9. Configure VS Code Interpreters
  10. Final Workshop Readiness Test
  11. Additional Resources and Exercises

0. End Goal (Checklist)

Inside VS Code, you should be able to:

  • Open a project folder
  • Open a Bash terminal
  • Run the following commands successfully:
    python --version     # Python 3.14.x
    node -v
    npm -v
    docker --version
    git --version

1. Install Visual Studio Code

  1. Download and install Visual Studio Code. https://code.visualstudio.com/download

  2. Open VS Code and install the following extensions:

    • Python (Microsoft)
    • Docker (Microsoft)
    • GitHub Pull Requests and Issues (GitHub)

2. Enable Bash Terminal in VS Code

macOS / Linux

Bash (or Zsh) is already installed.

In VS Code:

  • Go to Terminal → New Terminal

  • If needed: Terminal → Select Default Profile → Bash

Windows (Recommended: WSL2)

  1. Open PowerShell as Administrator and run:
wsl --install
  1. Restart your computer when prompted.
  2. Launch Ubuntu from the Start Menu and complete setup.
  3. Install VS Code if not already installed.
  4. In VS Code, install the WSL extension (Microsoft).
  5. From the Ubuntu terminal:
code .

This opens VS Code connected to WSL with a real Bash terminal.

3. Install Git and Configure It

macOS

xcode-select --install

Ubuntu / WSL / Linux

sudo apt update
sudo apt install -y git

Windows (non-WSL)

Install Git for Windows (includes Git Bash) - https://git-scm.com/install/windows

Configure Git (Windows and macOS)

git config --global user.name "Your Name"
git config --global user.email "you@example.com"

Verify:

git --version

4. Create a GitHub Account & Sign In from VS Code

  1. Create a GitHub account on github.com if you do not have one already.

  2. In VS Code:

    • Open the Accounts menu (bottom-left) or Command Palette
    • Search for GitHub: Sign in
  3. Authorize VS Code in the browser.

5. Install Python 3.14

macOS (Recommended: pyenv)

  1. Install Xcode Command Line Tools:
    xcode-select --install
  2. Install Homebrew (if not already installed):
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  3. Install Python build dependencies:
    brew install openssl readline sqlite3 xz zlib tcl-tk libffi
  4. Install pyenv:
    curl https://pyenv.run | bash
  5. Restart your terminal, then install Python 3.14:
    pyenv install 3.14.0
    pyenv global 3.14.0
    python --version

Linux / WSL (Ubuntu – Recommended: pyenv)

  1. Install dependencies:
sudo apt update
sudo apt install -y make build-essential libssl-dev zlib1g-dev \
  libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncursesw5-dev \
  xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
  1. Install pyenv:
    curl https://pyenv.run | bash
  2. Restart your terminal, then install Python 3.14:
    pyenv install 3.14.0
    pyenv global 3.14.0
    python --version

Windows (Non-WSL Option)

  1. Download the official Python installer. Note: you can do this install via the Microsoft store if you have it on your desktop already.
  2. During installation, ensure “Add Python to PATH” is checked.

Verify:

python --version

6. Install Node.js

macOS / Linux / WSL (Recommended: nvm)

Install nvm:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

Restart your terminal, then install Node.js:

nvm install --lts
node -v
npm -v

Windows (Non-WSL Option)

Install the Node.js LTS installer.

Verify:

node -v
npm -v
  1. Install Docker

macOS / Windows

Install Docker Desktop:

Launch Docker Desktop and complete setup.

Verify in terminal:

docker --version
docker run hello-world

Ubuntu / WSL Note

For Windows users, Docker works best by enabling WSL integration in Docker Desktop.

8. Configure VS Code Interpreters

  1. Open a project folder in VS Code.
  2. Open the terminal (Terminal → New Terminal).
  3. Run:
python --version
node -v
docker --version
git --version

If Python is not detected:

  • Open Command Palette → Python: Select Interpreter
  • Choose Python 3.14

9. Final Workshop Readiness Test

Run the following in the VS Code terminal:

python --version
node -v
npm -v
git --version
docker --version

Each command should return a version number with no errors.

10. Additional Resources and Exercises

How to use the command line (bash) https://github.com/cogeorg/teaching/wiki/Terminal

Using git version control https://github.com/IscoRuta/fse-tutorials/tree/main/Tutorial_1#readme

About

Teaching repository for UCT-CortexHub Fintech Lab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published