||7 months ago|
|archetypes||3 years ago|
|content||7 months ago|
|data/comments||3 years ago|
|layouts/shortcodes||12 months ago|
|static/titanoglass||3 years ago|
|themes||7 months ago|
|.editorconfig||3 years ago|
|.gitignore||8 months ago|
|.gitmodules||8 months ago|
|Dockerfile||12 months ago|
|README.md||12 months ago|
|config.yml||12 months ago|
|docker-compose.yml||12 months ago|
|hugo||12 months ago|
|parse.php||8 months ago|
|staticman.yml||3 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.