Hugo for my main website. https://vgai.de
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
Julian Leyh e9ee18ff2b
adjust handling of mentions
10 months ago
mentions update mentions csv 11 months ago
output clean destination dir before building 11 months ago
src adjust handling of mentions 10 months ago
.gitignore add webmentiond 11 months ago
.gitmodules remove submodules not needed any more 11 months ago
LICENSE.txt initial commit after creating new site 12 months ago
README.adoc add docker-compose service for production 12 months ago
docker-compose.yml replace webmentiond with nginx logging 11 months ago
push_mentions.sh update push_mentions.sh 10 months ago

README.adoc

Trying out Hugo, to evaluate how usable it is for my website.

License

Copyright © 2020, Julian Leyh <julian@vgai.de>

Licensed under the CC SA 4.0, see LICENSE.txt.

Usage of Docker for development

I use docker-compose for running Hugo locally and in production.

You should set the environment variable UID_GID before running the commands, like this:

export UID_GID="$(id -u):$(id -g)"

The productive nginx container is configured for use with the traefik reverse proxy. Please adjust the configuration for your needs. Also, the configuration requires an external docker network named traefik_proxy.

Build

To build using Docker, run following command:

docker-compose run --rm build

You can add parameters, like this:

docker-compose run --rm build new posts/foobar.adoc

Development Server

To run the integrated server during development, run following command:

docker-compose up server

Simply press Ctrl+C to stop it again.

Nginx Server

To run the Nginx server, adjust the configuration for traefik and run following command:

docker-compose up -d nginx