Homebrewserver.club website https://homebrewserver.club/
Go to file
2019-06-17 11:10:28 +02:00
content Add slashes to folders (more friendly for CLI typing) 2019-06-17 11:10:28 +02:00
themes/homebrewtheme stuffffff 2019-06-12 16:38:12 +02:00
.gitignore Add instructions for generating the site 2019-06-12 15:13:20 +02:00
Makefile first commit 2019-06-12 14:51:23 +02:00
pelicanconf.py stuffffff 2019-06-12 16:38:12 +02:00
publishconf.py first commit 2019-06-12 14:51:23 +02:00
README.md Add more hacking instructions 2019-06-12 15:19:05 +02:00
tasks.py first commit 2019-06-12 14:51:23 +02:00

nooo-hbsc

Revamped homebrewserver.club website.

Build the site locally

Preparing your system

Install the prerequisites:

$ apt install -y python3 python-3 python3-venv

Installing the Python requirements

Then create a virtual environment and activate it with:

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

Then install the requirements:

$ pip install pelican markdown

Then generate the content and run the server:

Generating the site

$ pelican content
$ pelican --listen

Then the site is available at the following URL:

http://localhost:8000

Working on the site

Run the following:

$ pelican --autoreload --listen

And then you can edit the files and the site will regenerate each time automatically. It is faster this way to review what you are working on.