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
6c72a8b8e3
|
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
The new homebrewserver.club website.
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:
Working with the site
- Website articles and content is in content
- The website structure is in themes/homebrewtheme
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