Step 1 - Get Set Up
To participate in this workshop and deploy your map, you'll need a GitHub account. You will use it to create your own copy, or fork, of the workshop repo.
On GitHub
Log In
If you already have a GitHub account, please sign in.
Otherwise, follow these steps:
-
Go to GitHub: Visit https://github.com
-
Sign up: Click "Sign up" and follow the prompts
- Choose a username
- Provide your email address
- Create a secure password
- Verify your email address
Fork the Workshop Repository
Forking is important: it gives you a copy under your own GitHub account, which is what allows you to make any changes you want and publish the map via GitHub Pages in Step 4.
Once you have a GitHub account and are signed in:
-
Navigate to the workshop repository: mizmay/standalone_web_maps_foss4g2025
-
Fork the repository:
- Click the "Fork" button in the top right corner
- Use the defaults to fork a copy to your account
- Leave "Copy the
mainbranch only" checked - You now have the starter files you need
Set Up Your Development Environment
After forking, you need a code editor and a way to run the project files. Choose one of the two options below.
Option A: Work in the Cloud
GitHub Codespaces gives you a virtual machine with a full VS Code editor running in your browser, with Git, Caddy (the web server), and the PMTiles CLI already installed. Nothing to download or configure.
- Navigate to your forked repository on GitHub (the one you just created)
- Click the green "Code" button
- Select the "Codespaces" tab
- Click "Create codespace on main"
- Wait for the environment to start — this takes a minute or two on first launch while the setup script installs Caddy and PMTiles
Once the Codespaces window opens, you'll see a VS Code editor in your browser with your repository files already present. You're ready to go, you can skip to Verify Your Setup below and move on to Step 2.
Note: Codespaces provides a limited number of free hours per month on GitHub's free plan. For a workshop session this is more than sufficient, but be aware the environment will sleep after a period of inactivity and you may need to reopen it.
Option B: Work Locally
The advantage of working locally is that you will have all the files on your own hard drive, which some people find more conducive to learning. There are instructions for how to work locally throughout this tutorial, but there are a few more setup steps before we can begin.
Scroll down to Install Prerequisites if you need to install:
- VS Code - code editor
- Git - version/source control
Once you have the prerequisites, follow the instructions below.
Clone Your Fork Locally
-
Get your repository URL:
- On your fork's GitHub page, click the green "Code" button
- Copy the HTTPS URL (looks like
https://github.com/YOUR-USERNAME/standalone_web_maps_foss4g2025.git)
-
Clone the repository using VS Code:
- Open VS Code. There should be an Explorer button in the top left corner, when you tap this you can "Clone Repository". Or...
- Press
Cmd+Shift+P(Mac) orCtrl+Shift+P(Windows/Linux) to open the command palette, Type "Git: Clone" and select it - In either case, paste your repository URL
- Choose a folder location to save the repository
- VS Code will open the cloned repository automatically
Alternative (Command Line): This will work from any terminal or command line interface. You can then edit the contents from any text editor:
git clone https://github.com/YOUR-USERNAME/standalone_web_maps_foss4g2025.git cd repository-name
Install Prerequisites
VS Code
If you don't already have a code editor, a popular choice is Visual Studio Code (VS Code):
- Download VS Code: Visit https://code.visualstudio.com/
- Install: Follow the installation instructions for your operating system
- Verify: Open VS Code to confirm it's installed correctly
Note: VS Code is built on open source but includes proprietary components (telemetry, branding). If you prefer a fully open source alternative, consider VSCodium, which uses the same codebase without Microsoft's additions. The workshop instructions work with either version.
Git
If you have never used Git before, unless you are on Linux, you'll need to install it.
The easiest way is to follow VS Code's built-in prompts:
- Open VS Code (if you haven't already)
- When you try to clone a repository (in the previous section), VS Code will detect if Git is not installed and will prompt you to install it
- Click "Download Git" or "Install Git" when prompted
- Follow the installation wizard that appears
- VS Code will guide you through the process
- After installation, restart VS Code if prompted
Here are some additional instructions specific to your operating system:
Additional options for installing Git on Mac:
If following the prompts in VS Code is not an option, try these approaches:
Option 1: Using Homebrew (if you have Homebrew installed):
- Open Terminal (Applications → Utilities → Terminal)
- Run:
brew install git - Verify installation:
git --version
Option 2: Download the official installer:
- Visit https://git-scm.com/download/mac
- Download the installer (it will detect your Mac and provide the right version)
- Run the installer and follow the prompts
- After installation, you may need to restart Terminal or VS Code
Additional options for installing Git on Windows:
If you prefer to install Git manually before cloning, you can download it from https://git-scm.com/download/win and follow the installation wizard.
Set Up Your Git Identity
First time only before you use Git, you need to set up your identity:
- Open a terminal in VS Code (Terminal → New Terminal, or
`key) - Run these commands (replace with your name and email):
git config --global user.name "Your Name" git config --global user.email "your.email@example.com" - This information will be used for all your Git commits
Verify Your Setup
You should now have:
- A GitHub account
- Your own fork of the workshop repository on GitHub
- A code editor open with the repository files (either in Codespaces or locally)
- Git available (pre-installed in Codespaces; installed locally if using Option B)
Next: Step 2 - Use Overpass to Create an OpenStreetMap Extract →