Skip to content
Blogging about software design/architecture, infrastructure, and automated testing.
Emacs Lisp TeX HTML CSS Shell Makefile Dockerfile
Branch: master
Clone or download
Latest commit f8fdedb Sep 22, 2019

README.org

Blog

Blogging about software design/architecture, infrastructure, and automated testing.

https://circleci.com/gh/tjmaynes/blog/tree/master.svg?style=svg

Requirements

Usage

To build the blog, run the following command:

BLOG_CONFIG=<some-blog-config> \
BLOG_DIRECTORY=<some-blog-directory> \
BLOG_BUILD_DIRECTORY=<some-blog-build-directory> \
make build_blog

To publish the blog, run the following command:

BLOG_CONFIG=<some-blog-config> \
BLOG_DIRECTORY=<some-blog-directory> \
BLOG_BUILD_DIRECTORY=<some-blog-build-directory> \
make publish_blog

To preview the blog using nginx in a docker container, run the following command:

BLOG_CONFIG=<some-blog-config> \
BLOG_DIRECTORY=<some-blog-directory> \
BLOG_BUILD_DIRECTORY=<some-blog-build-directory> \
make preview_blog

To build the docker image, run the following command:

TAG=<some-build-tag> \
make build_image

To debug the docker image, run the following command:

make debug_image

To push the docker image to dockerhub, run the following command:

REGISTRY_PASSWORD=<some-registry-password> \
TAG=<some-build-tag> \
make push_image
You can’t perform that action at this time.