Compare commits

..

No commits in common. "main" and "main" have entirely different histories.
main ... main

18 changed files with 80 additions and 288 deletions

View File

@ -26,35 +26,3 @@ jobs:
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
- run: cd generated-site && buildah build --file ../docker/serve.Dockerfile -t hswro-org:latest - run: cd generated-site && buildah build --file ../docker/serve.Dockerfile -t hswro-org:latest
- run: buildah push --creds ${REGISTRY_OWNER}:${{ secrets.PUSH_PACKAGES_KEY }} hswro-org:latest "docker://git.hswro.org/${REGISTRY_OWNER}/hswro_org:latest" - run: buildah push --creds ${REGISTRY_OWNER}:${{ secrets.PUSH_PACKAGES_KEY }} hswro-org:latest "docker://git.hswro.org/${REGISTRY_OWNER}/hswro_org:latest"
update_portainer:
runs-on: docker
if: github.ref == 'refs/heads/main'
container:
image: curlimages/curl:8.17.0
steps:
- run: curl -k -X POST ${{ secrets.RELOAD_PORTAINER_WEBHOOK }}
build_website_retro:
runs-on: docker
container:
image: git.hswro.org/hswro/hswro_org_build:latest
steps:
- uses: actions/checkout@v3
- run: bundle exec jekyll build --config _config_retro.yml
- uses: actions/upload-artifact@v3
with:
compression-level: 9
include-hidden-files: true
name: generated-site
path: _site/
build_and_push_container_retro:
runs-on: docker
if: github.ref == 'refs/heads/main'
env:
REGISTRY_OWNER: hswro
container:
image: git.hswro.org/hswro/hswro_org_build:latest
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- run: cd generated-site && buildah build --file ../docker/serve.Dockerfile -t retro-hswro-org:latest
- run: buildah push --creds ${REGISTRY_OWNER}:${{ secrets.PUSH_PACKAGES_KEY }} retro-hswro-org:latest "docker://git.hswro.org/${REGISTRY_OWNER}/retro_hswro_org:latest"

View File

@ -2,4 +2,3 @@ source "https://rubygems.org"
gem "webrick", "~> 1.9" gem "webrick", "~> 1.9"
gem "jekyll", "~> 4.4" gem "jekyll", "~> 4.4"
gem 'jekyll-polyglot', '~> 1.9'

View File

@ -38,18 +38,3 @@ Edit `_layouts/home.html`
Edit `_data/menus.yml` Edit `_data/menus.yml`
### Rebuilding and pushing the build/serve images
You need to be authenticated to do this. Go to [Applications](https://git.hswro.org/user/settings/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
```

View File

@ -23,19 +23,6 @@ sass:
include: include:
- .well-known - .well-known
plugins: [jekyll-polyglot]
# polyglot
languages: ["pl", "en"]
default_lang: "pl"
exclude_from_localization: ["images", "fonts", "sitemap", "docker", "vendor"]
url: https://hswro.org
ourspace:
pl: "Siedziba"
en: "Our place"
# polyglot end
exclude: exclude:
- Gemfile - Gemfile
- Gemfile.lock - Gemfile.lock

View File

@ -1,41 +0,0 @@
baseurl: '/'
permalink: pretty
title: 'Hackerspace Wrocław'
retro: true
logo: "images/hswro-logo.gif"
favicon: "images/favicon.svg"
sass:
style: compressed # possible values: nested expanded compact compressed
include:
- .well-known
plugins: [jekyll-polyglot]
# polyglot
languages: ["pl", "en"]
default_lang: "pl"
exclude_from_localization: ["images", "fonts", "sitemap", "docker", "vendor"]
url: https://hswro.org
ourspace:
pl: "Siedziba"
en: "Our place"
# polyglot end
exclude:
- Gemfile
- Gemfile.lock
- node_modules
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
- docker/
- LICENSE.md
- LICENSE
- README.md
- ORIGINAL_README.md

View File

@ -1,56 +0,0 @@
[
{
"title": "Main space",
"description": "Place for discussions and group work. Here all our meetings, workshops and lightning talks take place.",
"image": {
"url": "images/photos/openspace.jpg",
"width": 350,
"height": 350
}
},
{
"title": "Electronic Workshop",
"description": "Two workplaces with soldering and measurement equipment and a lot of components ready to be used in your projects.",
"image": {
"url": "images/photos/elektroniczny1.jpeg",
"width": 350,
"height": 350
}
},
{
"title": "Prototyping Workshop",
"description": "A lot of Prusa Research's 3D printers, a few 2D printers and a laser engraver.",
"image": {
"url": "images/photos/prusy.jpeg",
"width": 350,
"height": 350
}
},
{
"title": "Ham Radio Shack",
"description": "A ham radio corner with quite a selection of radios, from traditional HF radio, VHF/UHF FM radio and a few experimental ones like DV hotspot or Reticulum node.",
"image": {
"url": "images/photos/radiowy.jpg",
"width": 350,
"height": 350
}
},
{
"title": "Mechanical Workshop",
"description": "Equipped with a lot of useful tools that will allow you to build your own furniture or to make your pot into a sieve.",
"image": {
"url": "images/photos/warsztat.jpg",
"width": 350,
"height": 350
}
},
{
"title": "Welding room",
"description": "In the deepest nooks of Hackerspace.",
"image": {
"url": "images/photos/spawalnia.jpeg",
"width": 350,
"height": 350
}
}
]

View File

@ -1,6 +1,6 @@
{% if site.data.features %} {% if site.data.features %}
<h1>{{ site.ourspace[site.active_lang] }}</h1> <h1>Siedziba</h1>
<div class="container"> <div class="container">
<div class="row justify-content-center"> <div class="row justify-content-center">
{% for feature in site.data.features %} {% for feature in site.data.features %}

View File

@ -4,18 +4,12 @@
<div class="col-12"> <div class="col-12">
<div class="footer-inner"> <div class="footer-inner">
<h2 class="footer-title"> <h2 class="footer-title">
{% if site.retro %}
<div class="logo">
<a href="{{ site.baseurl }}"><img alt="{{ site.title }}" src="{{ site.logo | relative_url }}" /></a>
</div>
{% else %}
<div class="logo"> <div class="logo">
<a href="{{ site.baseurl }}"><img width="{{ site.logo.desktop_footer_width }}" height="{{ site.logo.desktop_footer_height }}" alt="{{ site.title }}" src="{{ site.logo.desktop | relative_url }}" /></a> <a href="{{ site.baseurl }}"><img width="{{ site.logo.desktop_footer_width }}" height="{{ site.logo.desktop_footer_height }}" alt="{{ site.title }}" src="{{ site.logo.desktop | relative_url }}" /></a>
</div> </div>
<div class="logo-mobile"> <div class="logo-mobile">
<a href="{{ site.baseurl }}"><img width="{{ site.logo.mobile_footer_width }}" height="{{ site.logo.mobile_footer_height }}" alt="{{ site.title }}" src="{{ site.logo.mobile | relative_url }}" /></a> <a href="{{ site.baseurl }}"><img width="{{ site.logo.mobile_footer_width }}" height="{{ site.logo.mobile_footer_height }}" alt="{{ site.title }}" src="{{ site.logo.mobile | relative_url }}" /></a>
</div> </div>
{% endif %}
</h2> </h2>
</div> </div>
</div> </div>

View File

@ -1,18 +1,11 @@
<div class='header'> <div class='header'>
<div class="container"> <div class="container">
{% if site.retro %}
<div class="logo">
<a href="{{ site.baseurl }}"><img alt="{{ site.title }}" src="{{ site.logo | relative_url }}" /></a>
</div>
{% else %}
<div class="logo"> <div class="logo">
<a href="{{ site.baseurl }}"><img width="{{ site.logo.desktop_width }}" height="{{ site.logo.desktop_height }}" alt="{{ site.title }}" src="{{ site.logo.desktop | relative_url }}" /></a> <a href="{{ site.baseurl }}"><img width="{{ site.logo.desktop_width }}" height="{{ site.logo.desktop_height }}" alt="{{ site.title }}" src="{{ site.logo.desktop | relative_url }}" /></a>
</div> </div>
<div class="logo-mobile"> <div class="logo-mobile">
<a href="{{ site.baseurl }}"><img width="{{ site.logo.mobile_width }}" height="{{ site.logo.mobile_height }}" alt="{{ site.title }}" src="{{ site.logo.mobile | relative_url }}" /></a> <a href="{{ site.baseurl }}"><img width="{{ site.logo.mobile_width }}" height="{{ site.logo.mobile_height }}" alt="{{ site.title }}" src="{{ site.logo.mobile | relative_url }}" /></a>
</div> </div>
{% endif %}
{% include main-menu.html %} {% include main-menu.html %}
</div> </div>
</div> </div>

View File

@ -1,12 +1,10 @@
<div id="main-menu" class="main-menu"> <div id="main-menu" class="main-menu">
{% assign mainmenu = site.data.menus.main | sort: 'weight' %}
<ul> <ul>
{% for lang in site.languages %} {% for item in mainmenu %}
<li> <li class="{% if item.url == page.url %}active{% endif %}">
{% if lang == site.active_lang %}<a style="font-weight: bold;">{{ lang }}</a> <a href="{{ item.url | relative_url }}">{{ item.name }}</a>
{% else %}
<a href="/{% if lang != site.default_lang %}{{ lang }}{% endif %}">{{ lang }}</a>
{% endif %}
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>

View File

@ -7,7 +7,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& gem install --no-document jekyll -v 4.4.1 \ && gem install --no-document jekyll -v 4.4.1 \
&& gem install --no-document webrick -v 1.9 \ && gem install --no-document webrick -v 1.9 \
&& gem install --no-document jekyll-polyglot -v 1.9 \
&& gem install bundler && gem install bundler
EXPOSE 4000 EXPOSE 4000

View File

@ -1,4 +1,4 @@
FROM git.hswro.org/hswro/hswro_org_serve_base:caddy FROM git.hswro.org/fleg/serve_base:caddy
# Copy the static website # Copy the static website
# Use the .dockerignore file to control what ends up inside the image! # Use the .dockerignore file to control what ends up inside the image!

View File

@ -4,7 +4,6 @@ RUN echo -e ":3000 {\n\
root * /var/www\n\ root * /var/www\n\
header /.well-known* Content-Type application/json\n\ header /.well-known* Content-Type application/json\n\
header /.well-known/matrix/client Access-Control-Allow-Origin *\n\ header /.well-known/matrix/client Access-Control-Allow-Origin *\n\
redir /d-i/trixie/preseed.cfg https://git.hswro.org/HSWro-infra/hswro-vm-provisioning/raw/branch/master/preseed.cfg temporary\n\
file_server\n\ file_server\n\
}" > /etc/caddy/Caddyfile }" > /etc/caddy/Caddyfile
WORKDIR /var/www WORKDIR /var/www

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1006 B

View File

@ -1,51 +0,0 @@
# Hackerspace
Hackerspace is a community of people consisting of technology enthusiasts that share knowledge with each other and partake in activities that promote technology, education and art. Our main focus is an open workshop which members can use freely. From time to time we also organize courses, meetings and presentations. We have been registered since 2014 as an NGO called _Stowarzyszenie Hackerspace Wrocław_.
Hackerspace Wrocław is located on the old tram depo -- <strong>ul. Wróblewskiego 38, 51-627 Wrocław</strong>.
Being a member gives you the following benefits:
* 24/7 access to our workshop,
* Access to our member-only communication channels,
* Ability to shape how Hackerspace works
* Requires you to help with maintenance of the workshop.
# Support us
If you want to support us financially you may donate money via a bank transfer.
Our account number: `27 1050 1575 1000 0090 8049 7895`
If you want to dedicate us yout 1.5% of your income tax, in the tax form provide the following information:<br />
KRS: `0000436707`<br />
Cause: `HSWRO`
# Meetings
We meet every Wednesday in our workshop during the open meetings which start on 19:00 until the last person standing. If you want to meet us you're welcome to come and say _hi_, but keep in mind that those are not organized meetings with set topic and structure.
{% include features.html %}
# Contact
Easiest way to contact us is on our chat. Our chatroom is bridged between a few platforms:
[Telegram](https://t.me/hackerspace_wroclaw), [Matrix #public:hswro.org](https://matrix.to/#/#public:hswro.org), [IRC #hswro@libera](irc://irc.libera.chat/hswro), [XMPP hswro_public@muc.jix.im](xmpp:hswro_public@muc.jix.im?join)
For documentation and more structured, long term discussions we use [Forum](https://forum.hswro.org).
We also have accounts on social media sites:
[Meetup](https://www.meetup.com/hackerspace-wrocław), [Facebook](https://www.facebook.com/HackerspaceWroclaw), [Mobilizon (fediverse)](https://mobilizon.pl/@hswro), [Mastodon (fediverse)](https://mastodon.radio/@SP6HACK)
For official communication there's an email address: [kontakt@hswro.org](mailto:kontakt@hswro.org)
You can also call our workshop directly: [+48 717072457](tel:+48717072457)
Over ham radio we can most often be found on 145.325 MHz FM, with CTCSS set to 250.3 Hz.
We work using callsigns `SP6HACK` and `SN6H`.
Stowarzyszenie Hackerspace Wrocław
ul. Wróblewskiego 38
51-627 Wrocław
NIP: `8943058081`
KRS: `0000531222`
REGON: `360286977`

View File

@ -3,5 +3,76 @@ title: Hackerspace Wrocław
layout: home layout: home
--- ---
{% capture index_content %}{% include_relative index.{{ site.active_lang }}.md %}{% endcapture %} # Hackerspace
{{ index_content | markdownify }}
Hackerspace to społeczność ludzi tworzona przez pasjonatów technologii, mająca na celu wymianę wiedzy oraz wspieranie działań promujących technologię, edukację i sztukę. W ramach działalności prowadzimy otwarty warsztat, z którego można samodzielnie korzystać. Okazjonalnie organizujemy również kursy, spotkania i prelekcje. Pod koniec 2014 roku zostaliśmy formalnie zarejestrowani jako organizacja pozarządowa o nazwie Stowarzyszenie Hackerspace Wrocław.
Hackerspace Wrocław mieści się na terenie dawnej zajezdni tramwajowej - <strong>ul. Wróblewskiego 38, 51-627 Wrocław</strong>.
Członkostwo w stowarzyszeniu daje Ci następujące benefity:
* dostęp do naszego warsztatu 24/7
* możliwość zapisania się na wewnętrzny kanał telegramowy oraz forum
* wpływ na aktywność i kierunek działań Stowarzyszenia
* oraz wiąże się z pomocą w utrzymaniu naszego warsztatu.
# 1.5%
Można przekazywać swoje 1.5% podatku na cele statutowe HSWro.
**KRS**: 0000270261, **Cel szczegółowy**: `HSWRO 17583`.
W roku 2024 za pieniądze z 1.5% udało nam się kupić:
- Kompresor: 773.67 zł
- Mikroskop: 1,518.99 zł
- Zagłębiarka: 499.00 zł
- Akumulatory Parkside: 358.00 zł
- Ładowarka Parkside: 249.00 zł
- Kamera termowizyjna: 1,296.30 zł
- Przedłużacz bębnowy: 191.90 zł
- Wiertła do metalu: 172.00 zł
- Wiertła do drewna: 129.90 zł
- Świetlówki - hardroom: 220.00 zł
- Świetlówki - główna sala: 224.00 zł
# Spotkania
Co środę spotykamy się w naszym warsztacie na spotkaniach otwartych. Zaczynają się o 19:00 i trwają do ostatniego hackera. Jeśli chcesz się z nami spotkać twarzą w twarz, porozmawiać i zobaczyć naszą siedzibę jest to świetny termin do odwiedzin. Weź jednak pod uwagę, że otwarte spotkania nie są zorganizowanymi zajęciami o ustalonej strukturze czy określonym temacie.
{% include features.html %}
# Kontakt
Najłatwiej się z nami skontaktować na czacie. Mamy połączone kanały na różnych platformach:
[Telegram](https://t.me/hackerspace_wroclaw), [Matrix #public:hswro.org](https://matrix.to/#/#public:hswro.org), [IRC #hswro@libera](irc://irc.libera.chat/hswro), [XMPP hswro_public@muc.jix.im](xmpp:hswro_public@muc.jix.im?join)
Do spraw wartych udokumentowania i omawiania projektów używamy [Forum](https://forum.hswro.org)
Mamy również konta na kilku platformach społecznościowych:
[Meetup](https://www.meetup.com/hackerspace-wrocław), [Facebook](https://www.facebook.com/HackerspaceWroclaw), [Mobilizon (fediverse)](https://mobilizon.pl/@hswro), [Mastodon (fediverse)](https://mastodon.radio/@SP6HACK)
Do oficjalnego kontaktu służy e-mail: [kontakt@hswro.org](mailto:kontakt@hswro.org)
Aby sprawdzić, czy ktoś akurat jest w naszej siedzibie możesz zadzwonić na telefon stacjonarny: [+48 717072457](tel:+48717072457)
Jeśli chcesz nas odwiedzić zapraszamy w każdą środę od 19 na teren dawnej zajezdni tramwajowej.
Na radiu (amatorskim) można nas najczęściej złapać na 145.325 MHz w FM, z włączonym CTCSS na 250.3 Hz.
Pracujemy pod znakami SP6HACK i SN6H.
Stowarzyszenie Hackerspace Wrocław
ul. Wróblewskiego 38
51-627 Wrocław
NIP: `8943058081`
KRS: `0000531222`
REGON: `360286977`
# Wsparcie
Jeśli chcesz nas wesprzeć finansowo, możesz przekazać darowiznę na cele statutowe na nasze konto.
Numer konta: `27 1050 1575 1000 0090 8049 7895`
Jeśli chcesz nam przekazać 1,5% podatku, w formularzu PIT podaj:
KRS: `0000270261`
Cel szczegółówy: `HSWRO 17583`

View File

@ -1,53 +0,0 @@
# Hackerspace
Hackerspace to społeczność ludzi tworzona przez pasjonatów technologii, mająca na celu wymianę wiedzy oraz wspieranie działań promujących technologię, edukację i sztukę. W ramach działalności prowadzimy otwarty warsztat, z którego można samodzielnie korzystać. Okazjonalnie organizujemy również kursy, spotkania i prelekcje. Pod koniec 2014 roku zostaliśmy formalnie zarejestrowani jako organizacja pozarządowa o nazwie Stowarzyszenie Hackerspace Wrocław.
Hackerspace Wrocław mieści się na terenie dawnej zajezdni tramwajowej - <strong>ul. Wróblewskiego 38, 51-627 Wrocław</strong>.
Członkostwo w stowarzyszeniu daje Ci następujące benefity:
* dostęp do naszego warsztatu 24/7
* możliwość zapisania się na wewnętrzny kanał telegramowy oraz forum
* wpływ na aktywność i kierunek działań Stowarzyszenia
* oraz wiąże się z pomocą w utrzymaniu naszego warsztatu.
# Wsparcie
Jeśli chcesz nas wesprzeć finansowo, możesz przekazać darowiznę na cele statutowe na nasze konto.
Numer konta: `27 1050 1575 1000 0090 8049 7895`
Jeśli chcesz nam przekazać 1,5% podatku, w formularzu PIT podaj:<br />
KRS: `0000436707`<br />
Cel szczegółowy: `HSWRO`
# Spotkania
Co środę spotykamy się w naszym warsztacie na spotkaniach otwartych. Zaczynają się o 19:00 i trwają do ostatniego hackera. Jeśli chcesz się z nami spotkać twarzą w twarz, porozmawiać i zobaczyć naszą siedzibę jest to świetny termin do odwiedzin. Weź jednak pod uwagę, że otwarte spotkania nie są zorganizowanymi zajęciami o ustalonej strukturze czy określonym temacie.
{% include features.html %}
# Kontakt
Najłatwiej się z nami skontaktować na czacie. Mamy połączone kanały na różnych platformach:
[Telegram](https://t.me/hackerspace_wroclaw), [Matrix #public:hswro.org](https://matrix.to/#/#public:hswro.org), [IRC #hswro@libera](irc://irc.libera.chat/hswro), [XMPP hswro_public@muc.jix.im](xmpp:hswro_public@muc.jix.im?join)
Do spraw wartych udokumentowania i omawiania projektów używamy [Forum](https://forum.hswro.org)
Mamy również konta na kilku platformach społecznościowych:
[Meetup](https://www.meetup.com/hackerspace-wrocław), [Facebook](https://www.facebook.com/HackerspaceWroclaw), [Mobilizon (fediverse)](https://mobilizon.pl/@hswro), [Mastodon (fediverse)](https://mastodon.radio/@SP6HACK)
Do oficjalnego kontaktu służy e-mail: [kontakt@hswro.org](mailto:kontakt@hswro.org)
Aby sprawdzić, czy ktoś akurat jest w naszej siedzibie możesz zadzwonić na telefon stacjonarny: [+48 717072457](tel:+48717072457)
Jeśli chcesz nas odwiedzić zapraszamy w każdą środę od 19 na teren dawnej zajezdni tramwajowej.
Na radiu (amatorskim) można nas najczęściej złapać na 145.325 MHz w FM, z włączonym CTCSS na 250.3 Hz.
Pracujemy pod znakami SP6HACK i SN6H.
Stowarzyszenie Hackerspace Wrocław
ul. Wróblewskiego 38
51-627 Wrocław
NIP: `8943058081`
KRS: `0000531222`
REGON: `360286977`