homebrewserver.club/README.md

862 B

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.