First, make sure you have Go installed. After that, install the publisher itself locally:
$ go get -u go.roman.zone/publisher/cmd/publisher
$ publisher \
-content "~/fancy_website/content" \
-out "~/fancy_website/public" \
-prod
Check example-content directory for an example of how content structure should look like. You can easily build the example by running make build-example
.