This site is using Pelican & and python venv.
To setup from scratch:
$ poetry install
To use the venv:
$ poetry shell
To run the dev server:
$ invoke livereload
To run a static debug build:
$ rm -f ./cache/* && pelican --delete-output-directory --debug &> ~/tmp/pelican-debug-output.log
To publish the site to s3:
$ export AWS_PROFILE=duncanlock.net
$ rm -rf ./published_output && make publish
# have a look at the /published_output, then:
$ make s3_upload
or to just do it in one go:
$ rm -rf ./published_output && make s3_upload