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.
 
 
 
 
 
screenbeard 98b2622138
Replace some h2s in content with h3
4 weeks ago
archetypes Altered all posts to include +0930 time to date 2 years ago
content Replace some h2s in content with h3 4 weeks ago
data/comments Add Staticman data 2 years ago
layouts/shortcodes Fixed posts, added more shortcodes, and include the Hugo docker container 5 months ago
static/titanoglass More post fixing. 2 years ago
themes Replace some h2s in content with h3 4 weeks ago
.editorconfig Fixed up SF704 2 years ago
.gitignore Add ooh-er as a git submodule (for learnings) 2 months ago
.gitmodules Add ooh-er as a git submodule (for learnings) 2 months ago
Dockerfile Fixed posts, added more shortcodes, and include the Hugo docker container 5 months ago
README.md Fixed posts, added more shortcodes, and include the Hugo docker container 5 months ago
config.yml Fixed posts, added more shortcodes, and include the Hugo docker container 5 months ago
docker-compose.yml Fixed posts, added more shortcodes, and include the Hugo docker container 5 months ago
hugo Fixed posts, added more shortcodes, and include the Hugo docker container 5 months ago
parse.php Adding some missing files 2 months ago
staticman.yml Add new post 2 years ago

README.md

The Geekorium

This repo is the source for my personal online journal. It uses Hugo to render a static website at the.geekorium.com.au.

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 server

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 --help text.

Finally I use my previous ./deploy script to rsync the files to my host.