Build a Self-Paced Workshop Repo with Checkpoint Branches, Solution Tags, and Bash Check Scripts
Intermediate · 45 minutes · 100 points
Transform a sample project into a fully structured self-paced workshop repository. You will initialize a Git repo, create numbered checkpoint branches representing learning milestones, tag solution states, and write a Bash verification script for each step that automatically tells learners whether they have completed that checkpoint correctly. This is a foundational lab for anyone building developer education content or internal training materials.
What you’ll learn
- Initialize a sample project Git repository and lay out a realistic multi-file project structure
- Create numbered checkpoint branches (checkpoint/01, checkpoint/02, checkpoint/03) that represent progressive learning stages with distinct committed changes
- Write per-step Bash check scripts (check_step_01.sh, check_step_02.sh, check_step_03.sh) that programmatically verify a learner has completed each checkpoint, and tag each solution state with a semantic solution tag
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 3 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: ubuntu:22.04
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
Topics: git, bash, workshop-design, branching, git-tags, scripting, developer-education, checkpoint, automation
Create a free account to start this lab.