hscloud/hswaw/site
Serge Bazanski 97b5cd7b58 go: re-do the entire thing
This is a mega-change, but attempting to split this up further is
probably not worth the effort.

Summary:

1. Bump up bazel, rules_go, and others.
2. Switch to new go target naming (bye bye go_default_library)
3. Move go deps to go.mod/go.sum, use make gazelle generate from that
4. Bump up Python deps a bit

And also whatever was required to actually get things to work - loads of
small useless changes.

Tested to work on NixOS and Ubuntu 20.04:

   $ bazel build //...
   $ bazel test //...

Change-Id: I8364bdaa1406b9ae4d0385a6b607f3e7989f98a9
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1583
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-09-22 21:50:19 +00:00
..
calendar go: re-do the entire thing 2023-09-22 21:50:19 +00:00
static go: re-do the entire thing 2023-09-22 21:50:19 +00:00
templates hswaw/site: update README, fix non-breaking whitespace and nitpicks 2023-09-02 16:35:40 +00:00
at.go hswaw/site: add checkinator integration 2021-07-18 13:18:11 +00:00
BUILD.bazel go: re-do the entire thing 2023-09-22 21:50:19 +00:00
COPYING hswaw/site: add landing page prototype 2021-06-01 21:53:47 +00:00
deps.bzl hswaw/site: mirror google fonts 2022-02-01 09:38:54 +00:00
events.go hswaw/site: wip new layout 2021-08-30 21:00:59 +02:00
feeds.go hswaw/site: render main page and blog feed 2021-05-30 23:21:49 +00:00
main.go hswaw/site: fix catch-all, add robots.txt 2022-11-07 00:24:09 +00:00
README.md hswaw/site: update README, fix non-breaking whitespace and nitpicks 2023-09-02 16:35:40 +00:00
spaceapi.go hswaw/site: spaceapi: make the open state depend on members presence 2022-01-25 14:52:07 +00:00
views.go hswaw/site: fix catch-all, add robots.txt 2022-11-07 00:24:09 +00:00

hackerspace.pl landing page

Introduction

This is a service which runs the hackerspace.pl landing page. It's a relatively simple Go application serving mostly static files with some template rendering threwn in for good measure.

It replaces the old www-main app.

Running locally

$ bazel run //hswaw/site -- -hspki_disable

And point your web browser to 127.0.0.1:8080.

For interactive development, use ibazel run instead to automatically rebuild on file changes (templates, statics or even Go code).