Homebrewserver.club website https://homebrewserver.club/
Go to file
lidia pereira 45ec70199f manifesto
2019-08-16 13:56:23 +02:00
content manifesto 2019-08-16 13:56:23 +02:00
plugins enable plugins 2019-06-24 12:40:42 +02:00
themes/homebrewtheme some minor changes to css + preliminary ordering of articles 2019-08-14 16:28:03 +02:00
.gitignore expand gitignore __pychache__ .venv etc 2019-06-19 14:32:23 +02:00
Makefile first commit 2019-06-12 14:51:23 +02:00
pelicanconf.py preliminary ordering of articles 2019-08-14 16:28:58 +02:00
publishconf.py Remove comments which wont be used 2019-06-19 11:48:23 +02:00
README.md Mark this as a TODO 2019-07-01 12:43:04 +02:00
requirements.txt Add missing dependency 2019-07-01 12:38:50 +02:00
tasks.py Remove livereload stuff (not working) 2019-07-01 12:39:00 +02:00

nooo-hbsc

The new homebrewserver.club website.

https://homebrewserver.club/

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:

http://localhost:8000

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

TODO.