Set up
Last updated
The capstone leaves the page. Over nine lessons you'll take Pila through one full release on your own computer, with real Git, real tests and, if you're 13 or older, a real GitHub repository with a pipeline. The feature is the one Ate Cora asked for in lesson 8.P: vaccination reminders. You'll play every role in turn: analyst, designer, developer, tester, operations. This lesson sets everything up.
By the end of this lesson you can
- Install Git and Python, and check both work
- Start a repository from Pila’s starter, and run it and its tests
- Set up a project board for the release
What you’ll do
Pila is at version 1.1.0. Ate Cora wants mothers to get a text before their babies' vaccines are due. You'll take that request all the way to patients:
| Lesson | You’re the | You’ll make |
|---|---|---|
| C.1 Set up | Developer | Your repository, running, with a board |
| C.2 Requirements | Analyst | Stories and acceptance criteria, as issues |
| C.3 Design | Designer | The design, a decision record and a threat model |
| C.4 Plan the sprint | Team | Estimates, a sprint and a definition of done |
| C.5 Build | Developer | The feature, one branch and pull request per story |
| C.6 Test | Tester | Acceptance tests, an exploratory session, two bug reports |
| C.7 Pipeline | Operations | A workflow that checks every push |
| C.8 Release | Product owner | Version 1.2.0, a changelog and release notes |
| C.9 Look back | Everyone | A fix for a bug from the field, a post-mortem, a retrospective |
It takes about 10 to 12 hours. Each lesson shows how the course's reference version did it; yours doesn't have to match it line for line.
Install Git and Python
You need Git (Simple Git's lesson Installing Git walks through it) and Python 3.12 or newer. Open a terminal and check both:
git --version git version 2.52.0 python --version Python 3.14.2 git config --global user.name Your Name
Any recent versions will do. If git config prints nothing, set your name and email first, as Simple Git shows.
Get Pila
Download the starter. It's Pila 1.1.0, as it was after lesson 8.P:
pila/.gitignore4 linespila/CHANGELOG.md23 linespila/docs/adr/0001-pass-the-gateway-in.md17 linespila/docs/design.md35 linespila/pila/__init__.py3 linespila/pila/__main__.py31 linespila/pila/gateways.py30 linespila/pila/jobs.py11 linespila/pila/phones.py15 linespila/pila/queue_rules.py55 linespila/pila/sms.py35 linespila/pyproject.toml16 linespila/README.md46 linespila/tests/test_jobs.py13 linespila/tests/test_phones.py9 linespila/tests/test_queue_rules.py83 linespila/tests/test_sms.py39 lines
Unzip it where you keep your projects, then make it a Git repository with one first commit:
cd pila git init -b main Initialized empty Git repository in /home/you/pila/.git/ git add . git commit -m "Start from Pila 1.1.0" [main (root-commit) 4e1c2a9] Start from Pila 1.1.0 17 files changed, 465 insertions(+)
Read README.md first, as lesson 8.2 suggested: it says what Pila is, how to run it, and where things are.
Run it, and its tests
Make a virtual environment, a folder holding this project's own packages so they don't mix with other projects', then install the tools and run the tests:
python -m venv .venv source .venv/bin/activate (.venv) $ python -m pip install pytest ruff (.venv) $ python -m pytest ........................... [100%] 27 passed in 0.12s (.venv) $ ruff check . All checks passed!
On Windows, activate it with .venv\Scripts\activate instead. .gitignore already keeps .venv/ out of Git.
Now try Pila. It prints the texts it would send:
(.venv) $ python -m pila 8:30 Pila. Type a phone number and a text, like: 0917 123 4567 PILA A blank line stops. > 0917 123 4567 PILA -> +639171234567: You are number 1. You're next: please come to the counter. > 0918 111 2222 PILA -> +639181112222: You are number 2. 1 person is ahead of you. >
The 8:30 pretends it's 8:30, so you can try it outside opening hours.
A home on GitHub
Lessons C.5 to C.8 use pull requests, a pipeline and releases on GitHub. GitHub's terms require users to be 13 or older. If you're younger, or would rather not have an account, you can do the whole capstone on your own computer: branches and merges instead of pull requests, running the checks yourself instead of a pipeline, and a tag instead of a GitHub release. Each lesson says how.
If you're using GitHub, create a free account, then a new, empty repository called pila (no README: you have one), and push to it. Simple Git's Signing in and pushing to GitHub shows each step:
git remote add origin https://github.com/your-name/pila.git git push -u origin main
Checked on 6 December 2026. GitHub's pages change; if a button has moved, its documentation, linked below, has the current steps.
The project board
Set up a board for this release (lesson 2.7):
- On GitHub: in your repository, open Projects, create a new project with the Board layout, and link it to the repository. Rename its columns to Backlog, Ready, In progress, In review and Done. Simple Git's Issues and project boards shows the same.
- Without GitHub: add a file
docs/board.mdwith those five headings. Each card is a line under one of them; moving a card is moving its line, in a commit.
It's empty for now. In C.2 you'll fill the backlog.
Check your setup
Sources
Every claim on this page comes from these sources: the standard, the founding text of a method, a study, or the official record of a project, from the body that publishes it. Industry reports are labelled as such.
- Git: Downloads: installers for Windows, macOS and Linux
- Python: Downloads: the current Python, for every system
- Python documentation: venv: virtual environments
- GitHub Docs: Creating an account on GitHub: a free personal account
- GitHub Terms of Service: accounts are for people 13 or older
- GitHub Docs: About Projects: boards for issues and pull requests