Homebrewserver.club website https://homebrewserver.club/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lidia pereira a611bf0f6d testing hook 2 years ago
content Merge branch 'master' of ssh://vvvvvvaria.org:12345/varia/homebrewserver.club 2 years ago
plugins enable plugins 3 years ago
themes/homebrewtheme changes to h 2 years ago
.gitignore expand gitignore __pychache__ .venv etc 3 years ago
Makefile first commit 3 years ago
README.md testing hook 2 years ago
pelicanconf.py added support for markdown attr_lists to add classes to images 2 years ago
publishconf.py Remove comments which wont be used 3 years ago
requirements.txt Add missing dependency 3 years ago
tasks.py Remove livereload stuff (not working) 3 years ago



The new homebrewserver.club website :)


Build the site locally

Get a local copy

$ git clone --recurse-submodules https://git.vvvvvvaria.org/varia/nooo-hbsc

System requirements

Install the system requirements:

$ apt install -y python3 python3-dev python3-venv

Python requirements

Then create a virtual environment and activate it:

$ python3 -m venv .venv
$ source .venv/bin/activate

Then install the requirements:

$ pip install -r requirements.txt

Generating the site

Generate the content and run the server:

$ pelican content
$ pelican --listen --relative-urls

Then the site is available at the following URL:


Working with the site

While working on the site, you can run the following:

$ pelican --autoreload --listen --relative-urls

Writing drafts

Use Status: draft in the article metadata. When the site is generated, the output/drafts folder will be created with your new draft article. This allows us to work on new articles and still store the pages here in the repository.

Deploying the site