Blog architecture revisited
I'm bailing on the original blog architecture for now.
Using AWS Lambda is just more complicated than it should be and I'd rather just get this thing working.
I reverted a bunch of the complicated changes I had made so far in my static generation script and that was before I'd even figured out how to handle the mako templates or bundle the whole thing for deployment or hook up the API gateway...
Using Zappa seemed like a possible solution, but even that seems like overkill.
So the new process is:
- content in a github repo, initially directly in a single jsonfeed file
- posting to my bot would have a checkout of that repo and update the file, push it to github
- generate.py script pulls the latest version and processes the feed file into static html
- nginx serves static html