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.
 
 
 
 
Luke Murphy 2ece7ca03e
Add slashes to folders (more friendly for CLI typing)
6 years ago
content Add slashes to folders (more friendly for CLI typing) 6 years ago
themes/homebrewtheme stuffffff 6 years ago
.gitignore Add instructions for generating the site 6 years ago
Makefile first commit 6 years ago
README.md Add more hacking instructions 6 years ago
pelicanconf.py stuffffff 6 years ago
publishconf.py first commit 6 years ago
tasks.py first commit 6 years ago

README.md

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.