This repo is the code for the blog. Additionally, it supports running through docker (via the use of a makefile).
This uses make for many of the management operations required, such as
rebuilding the docker image and starting/stopping a container. As a result, make
must be installed. Run make start to start a new container running Jekyll.
This Makefile has several build targets (commands):
start- Create and run a new containerstop- Stop an existing containerrestart- Stop a container and then start it againimage- Build the docker image without starting a containerflogs- Show logs and follow (stands for follow logs)sh- Run a shell in the container (e.g. to inspect files)clean- Remove anything that was build - stopping containers, removing the image and clearing tags
For example, run make start to create a new container.
The name of the docker image and container can be changed through the
DOCKER_NAME environment variable (e.g. make start DOCKER_NAME=meow to rename
to "meow").