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.
 
 
 
 
lidia pereira 581012aa20 some design tests 6 years ago
content Add template for SSH article 6 years ago
themes/homebrewtheme some design tests 6 years ago
.gitignore Add instructions for generating the site 6 years ago
Makefile first commit 6 years ago
README.md Add note about drafts 6 years ago
pelicanconf.py Move manifesto into article folder 6 years ago
publishconf.py first commit 6 years ago
requirements.txt Add requirements file 6 years ago
tasks.py Add livereload, fix static path and update README 6 years ago

README.md

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. It is also possible to use:

$ pelican --autoreload --listen

However, this will not automatically refresh your browser page.

Writing drafts

Use Status: draft in the article metadata. When the site is generated, the output/drafts folder will be created with your new draft article. This allows us to work on new articles and still store the pages here in the repository.

Deploying the site

Just run the usual:

$ git push origin master