by Jyan Zárate on Wednesday February 03, 2021 at 08:27 PM
No one reads this, but if they did, they'd notice that this is under a new platform.
I thought about storing blog entries as JSON and then using something like Gatsby to generate the page, building and throwing it into a nginx docker image and serving it, but I still didn't like the possibility of getting restricted on what I can do. Another restriction is that I didn't want to require a database. I'm tech literate (or at least I like to think I am) so I don't need a CMS. I don't need an admin panel just to modify my posts. I've experimented with using Quasar Framework's editor component to create a blog that stores content in MongoDB, but it's such a pain. For a solid year my blog was run on Quasar Framework, and it was smooth sailing but it just became painful to edit things. I've had an iteration where I just wrote the HTML but that seems like I'd easily get tired of things.
Well I'm glad to announce that I found a happy middle-ground. This is better than a compromise actually. I've managed to make most things automated. For 95% of blog posts, I only need to create an html file, extend my template, and add 1 line to my app.py script that contains my Flask app. I don't need to learn a new framework when I don't require anything too complicated. And it actually feels nice. Using Flask and Jinja2 again reminds me of my childhood. That's a bit extreme but it reminds me of being a freshmen back in high school. And just like other recent projects, to update the site just requires running $ ./update.sh
Previous: Test Blog
Feedback can be directed towards firstname.lastname@example.org
Page generated on Wednesday March 03, 2021 at 02:24 PM