How It Works
How my static site generator works.
- Uses a pre-push git hook to run a script
- That script looks at the files being pushed and rebuilds any that live in my sources directory.
- Magic is done. I offload most of the work to things like
pyyaml
,Python-Markdown
, andtornado.template
. - Upload to S3 using
boto
(of course). Cloudfront takes care of the rest.
There’s a lot left to do at #3.