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
42404e462a
|
6 years ago | |
---|---|---|
content | 6 years ago | |
themes/homebrewtheme | 6 years ago | |
.gitignore | 6 years ago | |
Makefile | 6 years ago | |
README.md | 6 years ago | |
pelicanconf.py | 6 years ago | |
publishconf.py | 6 years ago | |
tasks.py | 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:
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.