1
0
Fork 0
Go to file
Kamil 'Kamaś' Bruchal 8342399b50 Ujednolicenie celu szczegółowego + literówka 2026-02-17 14:00:54 +01:00
.forgejo/workflows Insecure connection to portainer webhook 2026-02-15 13:58:13 +01:00
.vscode updating sorting and limiting of services, improve service dummy content 2022-06-27 10:31:24 +10:00
.well-known/matrix Dodanie .well-known z wpisami dot. matriksa 2025-03-20 19:52:15 +01:00
_data Multilang 2026-02-15 17:58:04 +01:00
_includes Multilang 2026-02-15 17:58:04 +01:00
_layouts fedi linki 2025-03-28 12:37:47 +01:00
_sass Darken link color, no feature borders 2025-02-28 21:25:03 +00:00
assets Darken link color, no feature borders 2025-02-28 21:25:03 +00:00
docker Multilang 2026-02-15 17:58:04 +01:00
images dodany favicon 2025-03-01 20:31:19 +00:00
.gitignore refresh theme 2020-08-23 20:01:06 +10:00
Gemfile Multilang 2026-02-15 17:58:04 +01:00
LICENSE update baseurl and license email 2021-03-09 13:57:17 +10:00
ORIGINAL_README.md Created my own README 2025-02-23 20:47:02 +01:00
README.md README.md: fix caddy tagging 2025-11-16 20:34:37 +01:00
_config.yml Multilang 2026-02-15 17:58:04 +01:00
index.en.md Ujednolicenie celu szczegółowego + literówka 2026-02-17 14:00:54 +01:00
index.md Multilang 2026-02-15 17:58:04 +01:00
index.pl.md Ujednolicenie celu szczegółowego + literówka 2026-02-17 14:00:54 +01:00

README.md

hswro.org website

Common tasks

Testing the website locally

Assuming that you have installed Jekyll properly, run: bundle exec jekyll serve

Alternative is to use docker/podman. In the repo directory:

docker run -p="4000:4000" --volume="$PWD:/data:Z" -it git.hswro.org/hswro/hswro_org_build:latest

Preview should be available on http://localhost:4000 .

Doesn't work for me or I'm too lazy to do it

Forgejo Actions should generate it for you, then you should be able to download the compressed website ready for viewing locally.

Speaking of which, how to change something in Forgejo Actions

Edit .forgejo/workflows/build-jekyll.yml keeping in mind that Forgejo Actions is based on the most unhinged piece of techbro engineering called GitHub Actions, so you are not going to enjoy it if you've used any sane CI before.

Editing the website

Edit the markdown file which you want to edit. As of now there are two files: index.md and kontakt.md.

Editing the thingies that show the places in the hackerspace on the main page

Check out the _data/features.json file.

Editing the layout of the main page

Edit _layouts/home.html

Editing the menu on top or on the bottom

Edit _data/menus.yml

Rebuilding and pushing the build/serve images

You need to be authenticated to do this. Go to Applications, create a new Access Token with Access set to All and scope of Packages: Read and Write. Run docker login git.hswro.org, enter your Forgejo username, use the Access Token as a password. From there you can publish images:

docker build -t git.hswro.org/hswro/hswro_org_build -f docker/build.Dockerfile .
docker push git.hswro.org/hswro/hswro_org_build:latest
docker build -t git.hswro.org/hswro/hswro_org_serve_base:caddy -f docker/serve_base.Dockerfile .
docker push git.hswro.org/hswro/hswro_org_serve_base:caddy