This repository houses my personal blog. It is comprised of a few static HTML pages (Go templates) and a couple of dynamic pages.
The server reads a list of available posts upon startup. Each request to a given post url prompts a
lookup for each request to a given post that on-demand renders the markdown as HTML into the post.html
Go template.
A couple of notes around design specifics for the site.
Each card as they exist from the Spectre CSS component fits an image with dimensions:
W | H |
---|---|
472 | 400 |
Any available tests can be run with
make test
To run the server either for testing & development or in production through the go
command, just run:
make run
This command will produce a binary of the server program in the ./bin
directory called server
.
This binary still requires the project's tree structure, templates, static files, and any desired posts as they exist in this development repository.
make build
This can only be run after the build stage.
make start
TBD.
See the Makefile
© 2019 Robert Fairley