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.

53 lines
862 B

# nooo-hbsc
Revamped homebrewserver.club website.
## Build the site locally
### Preparing your system
Install the prerequisites:
```bash
$ apt install -y python3 python-3 python3-venv
```
### Installing the Python requirements
Then create a virtual environment and activate it with:
```bash
$ python3 -m venv .venv
$ source .venv/bin/activate
```
Then install the requirements:
```bash
$ pip install pelican markdown
```
Then generate the content and run the server:
### Generating the site
```bash
$ pelican content
$ pelican --listen
```
Then the site is available at the following URL:
> http://localhost:8000
### Working on the site
Run the following:
```bash
$ 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.