Skip to content

robertfairley/rf-19-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal Site / CV / Blog

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.

Designing

A couple of notes around design specifics for the site.

Post List

Each card as they exist from the Spectre CSS component fits an image with dimensions:

W H
472 400

Testing

Any available tests can be run with

make test

Running

No build

To run the server either for testing & development or in production through the go command, just run:

make run

Build Binary (Linux/macOS)

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

Run Binary

This can only be run after the build stage.

make start

Deploying

TBD.

Other Commands and Tooling

See the Makefile

License

MIT


© 2019 Robert Fairley

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published