Prerequisites
Every tutorial in the Use cases section assumes your machine has Docker, Git and a couple of free accounts set up. This page walks you through the common setup once — each individual tutorial then links back here instead of re-explaining it.
If you've already done all of this on your machine, skip to the tutorial you came for.
What you need
- A computer running macOS, Windows 10/11, or Linux
- Docker Desktop (or Docker Engine on Linux) — runs every tutorial in a container so you never install language-specific toolchains on your host
- Git — every tutorial uses GitHub Actions to deploy
- A free GitHub account — sign up
- A free Flexweg account — sign up
Step 1 — Install Docker Desktop
Docker Desktop bundles Docker Engine + the docker compose CLI + a GUI. It's the easiest way to run containers on any OS.
- macOS
- Windows
- Linux (Ubuntu/Debian)
-
Download Docker Desktop for Mac from docker.com/products/docker-desktop.
- Choose Apple Silicon (M1/M2/M3/M4) or Intel depending on your Mac — click the Apple menu → About This Mac to check.
-
Open the downloaded
.dmg, drag Docker into Applications. -
Launch Docker from your Applications folder. Accept the service agreement.
-
Wait for the whale icon in the menu bar to go steady (not animating) — that means Docker is running.
-
Open a terminal and verify:
docker --versiondocker compose version
-
Enable WSL2 first if you haven't already. Open PowerShell as Administrator and run:
wsl --installRestart your computer when prompted.
-
Download Docker Desktop for Windows from docker.com/products/docker-desktop.
-
Run the installer, accept defaults (especially "Use WSL 2 instead of Hyper-V"). Reboot.
-
Launch Docker Desktop from the Start menu. Accept the service agreement.
-
Wait for the whale icon in the system tray to go steady.
-
Open PowerShell (any) and verify:
docker --versiondocker compose version
Docker Desktop is available for Linux, but most developers install Docker Engine directly — it's lighter and scriptable. Either works.
Using Docker Engine:
# Remove any old docker packages
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do
sudo apt-get remove $pkg
done
# Install the official Docker repository
sudo apt-get update
sudo apt-get install -y ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo $VERSION_CODENAME) stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
# Install Docker Engine + compose
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
# Add your user to the docker group (logout + login after)
sudo usermod -aG docker $USER
Log out and log back in, then verify:
docker --version
docker compose version
docker run --rm hello-world downloads a tiny image and runs it. If you see the "Hello from Docker!" message, you're good to go.
Step 2 — Install Git
Git is the version control system every tutorial uses to push your project to GitHub.
- macOS
- Windows
- Linux (Ubuntu/Debian)
Git ships with Xcode Command Line Tools. Open a terminal and run:
xcode-select --install
A dialog appears — click Install. Once done, verify:
git --version
Download and install Git for Windows from git-scm.com/download/win. Accept all defaults.
Verify in any new PowerShell window:
git --version
sudo apt-get install -y git
git --version
Step 3 — Configure Git with your identity
Git needs to know who you are (shown on every commit). Run this once:
git config --global user.name "Your Name"
Step 4 — Create your GitHub account
If you don't have one yet, sign up on GitHub — it's free for unlimited public and private repositories. Most tutorials in this section push your project to GitHub and use GitHub Actions to deploy to Flexweg.
Step 5 — Create your Flexweg account
Head to flexweg.com and sign up for a free account. A blank site is created automatically at a URL like https://4dp6g1d6.flexweg.com — you'll deploy to this URL from any tutorial.
You'll also need an API key for deployment. Go to Account → API and generate one. Keep it handy — every tutorial will ask you to paste it into a GitHub secret.
Never commit it to git, paste it in a public issue, or share it. If you leak it, revoke it from the same page and generate a new one.
You're ready
With Docker, Git, GitHub and Flexweg in place, you can now follow any tutorial in the Use cases section:
- Docusaurus documentation site — a full docs site with hot reload and auto-deploy.
- Blog with Decap CMS — a personal blog with a visual admin panel, powered by Eleventy + Decap CMS.
- Kanban with Firebase — deploy a ready-made Jira-like ticket manager backed by Firebase (auth + database + security rules), still fully static.
More tutorials coming soon.