Go to file
omartek 1f4287b330 English version: inserito post bilingue (#26)Displaying all uncommitted changes. origin/post2010-part2 editing post 2010 english version 26 Jun 2024 11:17 omartek 6f03b094 editing posts 2008 26 Jun 2024 11:14 omartek b0754fa9 convertito video da flv 23 Jun 2024 11:29 omartek 955ba6ca mainoriginupstream origin/HEAD nuovo layout (non tema) e rimosse pagine non pubblicate (#21) 26 Jun 2024 11:38 paspo 923065da post2010-part2 editing post 2010 english version 26 Jun 2024 11:17 omartek c7c22b37 editing posts 2008 26 Jun 2024 11:14 omartek 7c81deb9 convertito video da flv 23 Jun 2024 11:29 omartek 42a1e2ee custom favicon (#16) 25 Jun 2024 23:54 paspo 7203645d abilita RSS (#14) 25 Jun 2024 23:50 paspo 7e9a8033 fix gzip for svg files (#19) 25 Jun 2024 22:38 paspo cc0b4731 Editing post 2019 - fix (#20) 23 Jun 2024 15:53 omar d89f8422 Editing posts 2009 - part2 (#12) 23 Jun 2024 15:52 omar f5abb7a7 Editing posts 2010 - part1 (#13) 23 Jun 2024 15:48 omar d50c938f modifiche file MD (#1) 20 Jun 2024 17:40 omartek 43c75b4e Merge pull request 'WIP Update content/posts/2011/2011-01-15-abbiamo-votato-antonio/index.it.md' (#7) from fleur/bglug.it:main into main 18 Jun 2024 23:29 Francesco Stabile bc0b63ac Update content/posts/2011/2011-02-15-bglug-itis-paleocapa-gennaio-2011/index.it.md 18 Jun 2024 23:21 Andrea Flori cf58395a Upload files to "content/posts/2011/2011-02-15-bglug-itis-paleocapa-gennaio-2011" 18 Jun 2024 23:21 Andrea Flori 610a334f Upload files to "content/posts/2011/2011-02-15-bglug-itis-paleocapa-gennaio-2011" 18 Jun 2024 23:20 Andrea Flori 3038343a Update content/posts/2011/2011-02-15-bglug-itis-paleocapa-gennaio-2011/index.it.md 18 Jun 2024 23:13 Andrea Flori 776ab31c stop auto build on every commit 18 Jun 2024 23:10 Paolo Asperti 6a12d921 Update content/posts/2011/2011-01-15-abbiamo-votato-antonio/index.it.md 18 Jun 2024 23:07 Andrea Flori efbdc783 Merge remote-tracking branch 'origin/modifiche' 18 Jun 2024 23:00 paspo 62f73180 post python 18 Jun 2024 23:00 paspo fea7030b Update content/posts/2016/2016-02-12-linux-day-2015-sincronizzare-e-condividere-con-owncloud/index.it.md 18 Jun 2024 22:57 Francesco Stabile 0a3e6c96 privacy policy nel menu (giusto una prova) 18 Jun 2024 22:53 paspo f0205e96 Update content/posts/2016/2016-02-12-linux-day-2015-sincronizzare-e-condividere-con-owncloud/index.it.md 18 Jun 2024 22:55 Francesco Stabile 1ed6aa5d Update content/posts/2016/2016-02-11-linux-day-2015-linux-embedded/index.it.md 18 Jun 2024 22:51 Francesco Stabile f7bb552a Merge pull request 'WIP Update content/posts/2016/2016-02-10-linux-day-linux-va-a-scuola/index.it.md' (#4) from fstabile/bglug.it:modifiche_fstabile into main 18 Jun 2024 22:47 Paolo Asperti d11d762e Update content/posts/2016/2016-02-10-linux-day-linux-va-a-scuola/index.it.md 18 Jun 2024 22:41 Francesco Stabile 40822d94 increased build timeout 17 Jun 2024 08:53 paspo e61d131f cleanup 11 Jun 2024 22:54 paspo 3540fcfb cleanup 11 Jun 2024 23:06 paspo fee1686e post updates 11 Jun 2024 22:51 paspo 7854ab35 Sistemato content/posts/2023/2023-02-05-linux-winter-day-2023/index.it.md 11 Jun 2024 22:50 amreo bd167cc0 Sistemato content/posts/2018/2018-02-21-linux-winter-day-ad-albino-bg-sabato-24-febbraio/index.it.md 11 Jun 2024 22:40 amreo 48430508 Sistemato content/posts/2019/2019-08-24-download-event-2019-sopravvivere-ai-software-proprietari/index.it.md 11 Jun 2024 22:38 amreo 29a2580f Sistemato content/posts/2023/2023-02-22-proxmox-e-nginx-proxy-manager-installazione-e-configurazione-di-un-server-per-offrire-servizi-in-una-rete-scolastica/index.it.md 11 Jun 2024 22:29 amreo 5d48080a content/posts/2023/2023-01-01-happy-2023/index.it.md 11 Jun 2024 22:05 amreo 6a1999a4 Sistemato content/posts/2010/2010-06-08-bglug-keller-estate-2010/index.it.md 11 Jun 2024 21:31 amreo b66d65be fix workflows 3 Jun 2024 22:03 paspo a04ac75f mattermost notification 15 May 2024 23:00 paspo 6368189f posts 2013 7 May 2024 22:59 paspo 40cb60f5 wip posts 23 Apr 2024 23:15 Paolo Asperti 5ea81569 posts wip 23 Apr 2024 22:57 Paolo Asperti 95a74d6a dev notes 16 Apr 2024 23:33 Paolo Asperti 8f8e3c07 some 2023 posts 16 Apr 2024 23:25 Paolo Asperti 886360a0 fix frontmatter 16 Apr 2024 23:11 Paolo Asperti 0f8a04be posts 2020 16 Apr 2024 23:01 Paolo Asperti 9ce3952c fix old posts 16 Apr 2024 22:32 Paolo Asperti 3e461f6f editorconfig 16 Apr 2024 22:22 Paolo Asperti 2b530eed fix ... 16 Apr 2024 22:09 Paolo Asperti dbdddb33 all posts are now draft until fixed 16 Apr 2024 22:05 Paolo Asperti 51453e6a post reorg 16 Apr 2024 22:01 Paolo Asperti 3387c6bb fix urlencoded chars 16 Apr 2024 21:40 Paolo Asperti f23e24f8 import iniziale 9 Apr 2024 22:10 Paolo Asperti 44e368a0
Sistemato post ed inserita la versione in inglese.

Reviewed-on: #26
Reviewed-by: Paolo Asperti <paspo@noreply.libreschool.org>
Co-authored-by: omartek <olazzari@gmail.com>
Co-committed-by: omartek <olazzari@gmail.com>
2024-06-26 10:16:03 +00:00
.gitea/workflows stop auto build on every commit 2024-06-18 21:10:17 +00:00
archetypes import iniziale 2024-04-09 23:12:57 +02:00
content English version: inserito post bilingue (#26)Displaying all uncommitted changes. origin/post2010-part2 editing post 2010 english version 26 Jun 2024 11:17 omartek 6f03b094 editing posts 2008 26 Jun 2024 11:14 omartek b0754fa9 convertito video da flv 23 Jun 2024 11:29 omartek 955ba6ca mainoriginupstream origin/HEAD nuovo layout (non tema) e rimosse pagine non pubblicate (#21) 26 Jun 2024 11:38 paspo 923065da post2010-part2 editing post 2010 english version 26 Jun 2024 11:17 omartek c7c22b37 editing posts 2008 26 Jun 2024 11:14 omartek 7c81deb9 convertito video da flv 23 Jun 2024 11:29 omartek 42a1e2ee custom favicon (#16) 25 Jun 2024 23:54 paspo 7203645d abilita RSS (#14) 25 Jun 2024 23:50 paspo 7e9a8033 fix gzip for svg files (#19) 25 Jun 2024 22:38 paspo cc0b4731 Editing post 2019 - fix (#20) 23 Jun 2024 15:53 omar d89f8422 Editing posts 2009 - part2 (#12) 23 Jun 2024 15:52 omar f5abb7a7 Editing posts 2010 - part1 (#13) 23 Jun 2024 15:48 omar d50c938f modifiche file MD (#1) 20 Jun 2024 17:40 omartek 43c75b4e Merge pull request 'WIP Update content/posts/2011/2011-01-15-abbiamo-votato-antonio/index.it.md' (#7) from fleur/bglug.it:main into main 18 Jun 2024 23:29 Francesco Stabile bc0b63ac Update content/posts/2011/2011-02-15-bglug-itis-paleocapa-gennaio-2011/index.it.md 18 Jun 2024 23:21 Andrea Flori cf58395a Upload files to "content/posts/2011/2011-02-15-bglug-itis-paleocapa-gennaio-2011" 18 Jun 2024 23:21 Andrea Flori 610a334f Upload files to "content/posts/2011/2011-02-15-bglug-itis-paleocapa-gennaio-2011" 18 Jun 2024 23:20 Andrea Flori 3038343a Update content/posts/2011/2011-02-15-bglug-itis-paleocapa-gennaio-2011/index.it.md 18 Jun 2024 23:13 Andrea Flori 776ab31c stop auto build on every commit 18 Jun 2024 23:10 Paolo Asperti 6a12d921 Update content/posts/2011/2011-01-15-abbiamo-votato-antonio/index.it.md 18 Jun 2024 23:07 Andrea Flori efbdc783 Merge remote-tracking branch 'origin/modifiche' 18 Jun 2024 23:00 paspo 62f73180 post python 18 Jun 2024 23:00 paspo fea7030b Update content/posts/2016/2016-02-12-linux-day-2015-sincronizzare-e-condividere-con-owncloud/index.it.md 18 Jun 2024 22:57 Francesco Stabile 0a3e6c96 privacy policy nel menu (giusto una prova) 18 Jun 2024 22:53 paspo f0205e96 Update content/posts/2016/2016-02-12-linux-day-2015-sincronizzare-e-condividere-con-owncloud/index.it.md 18 Jun 2024 22:55 Francesco Stabile 1ed6aa5d Update content/posts/2016/2016-02-11-linux-day-2015-linux-embedded/index.it.md 18 Jun 2024 22:51 Francesco Stabile f7bb552a Merge pull request 'WIP Update content/posts/2016/2016-02-10-linux-day-linux-va-a-scuola/index.it.md' (#4) from fstabile/bglug.it:modifiche_fstabile into main 18 Jun 2024 22:47 Paolo Asperti d11d762e Update content/posts/2016/2016-02-10-linux-day-linux-va-a-scuola/index.it.md 18 Jun 2024 22:41 Francesco Stabile 40822d94 increased build timeout 17 Jun 2024 08:53 paspo e61d131f cleanup 11 Jun 2024 22:54 paspo 3540fcfb cleanup 11 Jun 2024 23:06 paspo fee1686e post updates 11 Jun 2024 22:51 paspo 7854ab35 Sistemato content/posts/2023/2023-02-05-linux-winter-day-2023/index.it.md 11 Jun 2024 22:50 amreo bd167cc0 Sistemato content/posts/2018/2018-02-21-linux-winter-day-ad-albino-bg-sabato-24-febbraio/index.it.md 11 Jun 2024 22:40 amreo 48430508 Sistemato content/posts/2019/2019-08-24-download-event-2019-sopravvivere-ai-software-proprietari/index.it.md 11 Jun 2024 22:38 amreo 29a2580f Sistemato content/posts/2023/2023-02-22-proxmox-e-nginx-proxy-manager-installazione-e-configurazione-di-un-server-per-offrire-servizi-in-una-rete-scolastica/index.it.md 11 Jun 2024 22:29 amreo 5d48080a content/posts/2023/2023-01-01-happy-2023/index.it.md 11 Jun 2024 22:05 amreo 6a1999a4 Sistemato content/posts/2010/2010-06-08-bglug-keller-estate-2010/index.it.md 11 Jun 2024 21:31 amreo b66d65be fix workflows 3 Jun 2024 22:03 paspo a04ac75f mattermost notification 15 May 2024 23:00 paspo 6368189f posts 2013 7 May 2024 22:59 paspo 40cb60f5 wip posts 23 Apr 2024 23:15 Paolo Asperti 5ea81569 posts wip 23 Apr 2024 22:57 Paolo Asperti 95a74d6a dev notes 16 Apr 2024 23:33 Paolo Asperti 8f8e3c07 some 2023 posts 16 Apr 2024 23:25 Paolo Asperti 886360a0 fix frontmatter 16 Apr 2024 23:11 Paolo Asperti 0f8a04be posts 2020 16 Apr 2024 23:01 Paolo Asperti 9ce3952c fix old posts 16 Apr 2024 22:32 Paolo Asperti 3e461f6f editorconfig 16 Apr 2024 22:22 Paolo Asperti 2b530eed fix ... 16 Apr 2024 22:09 Paolo Asperti dbdddb33 all posts are now draft until fixed 16 Apr 2024 22:05 Paolo Asperti 51453e6a post reorg 16 Apr 2024 22:01 Paolo Asperti 3387c6bb fix urlencoded chars 16 Apr 2024 21:40 Paolo Asperti f23e24f8 import iniziale 9 Apr 2024 22:10 Paolo Asperti 44e368a0 2024-06-26 10:16:03 +00:00
docker/rootfs fix gzip for svg files (#19) 2024-06-25 20:38:43 +00:00
import/hugo-export/wp-content/uploads cleanup 2024-06-11 23:08:36 +02:00
layouts/partials custom favicon (#16) 2024-06-25 21:54:36 +00:00
static import iniziale 2024-04-09 23:12:57 +02:00
themes import iniziale 2024-04-09 23:12:57 +02:00
.dockerignore import iniziale 2024-04-09 23:12:57 +02:00
.editorconfig editorconfig 2024-04-16 22:22:37 +02:00
.gitignore modifiche file MD (#1) 2024-06-20 15:40:17 +00:00
.gitmodules import iniziale 2024-04-09 23:12:57 +02:00
config.yml nuovo layout (non tema) e rimosse pagine non pubblicate (#21) 2024-06-26 09:38:51 +00:00
Dockerfile import iniziale 2024-04-09 23:12:57 +02:00
LICENSE import iniziale 2024-04-09 23:12:57 +02:00
README.md dev notes 2024-04-16 23:33:34 +02:00

bglug.it

BgLUG website

Development instructions

Clone repo with the command:

git clone --recurse-submodules ssh://git@git.libreschool.org:1022/bglug/bglug.it.git
cd bglug.it

If you did clone this repo in the usual way, you probably missed the theme's git submodule. To download the missing submodule:

cd bglug.it
git submodule update --init --recursive

Then start the hugo live server:

hugo server

or

docker run --rm -d --name hugo_ls -v "$PWD:/src" -p "1313:1313" git.libreschool.org/bglug/hugo-extended:latest serve -s /src --gc --minify --bind 0.0.0.0

You can produce the complete website with:

hugo

The complete website will be placed in the public directory.

Development misc notes

The imported posts are marked as "draft" and as such aren't rendered in the final output. If you want to render all the drafts, you can add the -D flag:

hugo server -D

Building the container image

This website can be used as a container image; to do so in docker:

docker build -t bglug-website .

Then you can run the image:

docker run -d -p 6080:80 bglug-website

With the above command, the website will be reachable via HTTP to port 6080.

It's also possible do bind mount the container's /logs directory, to expose nginx logs.

Using the container image

Plain docker invocation

docker run -d --name bglug_website -p 6080:80 git.libreschool.org/bglug/bglug.it:latest

Via docker compose

version: "3.9"
services:
  web:
    image: git.libreschool.org/libreschool/bglug.it:latest
    restart: always
    container_name: bglug_website
    volumes:
      - ./logs:/logs
    ports:
      - 6080:80

Configure log rotation

By default logs are stored in a volume mounted on /logs directory inside the container. The access log file is /logs/nginx.access.log and it is rotate daily with a configurable retention, 7 days by default.

version: "3.9"
services:
  web:
    image: git.libreschool.org/bglug/bglug.it:latest
    restart: always
    container_name: bglug_website
    volumes:
      - ./logs:/logs
    environment:
      LOG_DAYS: 14
    ports:
      - 6080:80