Update Readme.md

c-c-c-c-changes
This commit is contained in:
hrk 2026-01-16 15:58:53 +01:00
parent 3ef119c549
commit e1bf5c0870

View file

@ -4,7 +4,7 @@ This repo contains technical notes from the preparation for the Braids: Intro to
The slides for the workshop live in their own repo at: https://git.hackersanddesigners.nl/hrk/Braid-slides and are viewable at https://braids.hackersanddesigners.nl/slides/
Weve set up a Forgejo instance (you're probably reading this there) on a Raspberry Pi, accessible over the web via Tinc. During the workshop, user account registration was temporarily open. After a short introduction to the basics of Git, participants were invited to clone the workshop repository, create a personal branch (for example braids/<slug>), make a few small edits to the starter HTML page, commit their changes, and push the branch back to Forgejo. A webhook on the same machine published each pushed branch to a shared gallery site, so everyone could immediately view each others pages in the browser and iterate with additional commits.
Weve set up a Forgejo instance (you're probably reading this there) on a Raspberry Pi, accessible over the web via Tinc. During the workshop, user account registration was temporarily open. After a short introduction to the basics of Git, participants were invited to clone the workshop repository, create a personal branch (for example braids/my-name), make a few small edits to the starter HTML page, commit their changes, and push the branch back to Forgejo. A webhook on the same machine published each pushed branch to a shared gallery site, so everyone could immediately view each others pages in the browser and iterate with additional commits.
The Forgejo repository is configured with a push webhook that calls a small deployment script on the Raspberry Pi. When a branch is pushed, the webhook triggers the script to fetch the latest updates from Forgejo, export the contents of each participant branch, and write them to the web server directory under a per-branch path. It also regenerates the gallery index page so new or updated branches appear immediately. This provides a near real-time “publish on push” loop during the workshop. The main branch was protect to commits in the Forgejo repo settings.
@ -25,7 +25,7 @@ Create mount directory:
`sudo mkdir /media/ssd `
Test mount.
Test mount
`sudo mount /dev/sda1 /media/ssd`
If it works add it to fstab
@ -49,10 +49,10 @@ Create user (in current user group)
`sudo usermod -aG docker $USER`
Logout
> logout
`logout`
Check if the group exist
> groups
`groups`
test:
`docker run hello-world`