Homebrewserver.club website https://homebrewserver.club/
Go to file
2019-06-17 11:49:11 +02:00
content Attempt to categories images and fix paths 2019-06-17 11:42:45 +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 Add livereload, fix static path and update README 2019-06-17 11:48:59 +02:00
publishconf.py first commit 2019-06-12 14:51:23 +02:00
README.md Add livereload, fix static path and update README 2019-06-17 11:48:59 +02:00
requirements.txt Add requirements file 2019-06-17 11:49:11 +02:00
tasks.py Add livereload, fix static path and update README 2019-06-17 11:48:59 +02:00

nooo-hbsc

The new homebrewserver.club website.

https://homebrewserver.club/

Build the site locally

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

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:

$ invoke livereload

And then the Pelican development server will automatically reload when you make changes.

Deploying the site

Just run the usual:

$ git push origin master