||2 years ago|
|archetypes||4 years ago|
|content||2 years ago|
|data/comments||4 years ago|
|layouts/shortcodes||2 years ago|
|static/titanoglass||4 years ago|
|themes||2 years ago|
|.editorconfig||4 years ago|
|.gitignore||2 years ago|
|.gitmodules||2 years ago|
|Dockerfile||2 years ago|
|README.md||2 years ago|
|config.yml||2 years ago|
|docker-compose.yml||2 years ago|
|hugo||2 years ago|
|parse.php||2 years ago|
|staticman.yml||4 years ago|
For the source to the theme, see Ooh-Er.
This repo includes a Dockerfile that builds a local container version of Hugo for building and testing the site.
Many of the Hugo Dockerfiles I found would copy the website source to the container in preparation of serving the files from Docker. In my case I'm happy with my plain HTML to continue being served where it is, but didn't want to lose out on the features you get when you're using Hugo to develop locally - such as running a test server with live reloading.
With the help of the handy "hugo" wrapper shell script, this Dockerfile will fire up Hugo in a container, and serve my local files through a mapped volume without having to have Go or Hugo installed on my machine (only Docker).
I set the hugo script to executable with
chmod u+x hugo and I can now run the automatically updating Hugo server with:
hugo by itself is used the build the site, so I pass in a harmless switch like
-v (verbose) to build the site without triggering the default
Finally I use my previous
./deploy script to rsync the files to my host.