This blog is meant to be focused in CG, so this post will probably look very off in a while.
But I spent a couple of weeks just to write my own blog system that I thought the effort deserved to also be shared!
I could possibly had done a blog in a Saturday afternoon using Wordpress and I’d be able to start sharing content right away. But last year I spent many many months working in a project for a startup, where I was the lead developer of a big online application. Back there, I was very rusty in web development/design, so I decided to use a development language that is very familiar to me, Python!
In Python’s universe I found an amazing package called Flask. Which is an elegant and simple web application framework. You could say it is like Django, but naked. Working with Flask really made me ( for the first time ever ) have some fun with web development. So, when this idea of starting a blog came to me, I couldn’t imagine myself using anything else. Especially PHP, which was the last language that I ‘learnt’ before I decided to move out of software development to pursue a career in design, photography and animation, back in 2007.
This blog is also a very expandable environment for me. Like flask, it’s simple. Which make it very easy to adapt, grow and connect with all kinds of systems. I really don’t know how far I’ll go, but I needed a space where I would not feel limited by deprecation, technique or complexity.
Instead of using standard servers. I decided to deploy it in a modern cloud platform, called Heroku. Which provides a great pipeline that easily allow you to deploy a web application using Github. The pipeline automatically creates PR reviews, stage and production instances of the apps, which is awesome, because it allows many stages of testing before pushing a code to the online version of the blog.
The best of all, it comes for free (in the beginning at least)
Heroku provides a series of add-ons, including a cloud based Postgre SQL , which is very convenient, it makes easy to integrate a database to the web application.
Heroku is good for running the applications, but not ideal for hosting Media.
That’s when Amazon's AWS came in. I wrote a system to upload, resize and serve images from S3 (Amazon's storage system), which provides availability and speed that is hard to rival. The costs are fair and calculated on demand (pay for what you use).
On top of those, I used several open source packages to avoid reinventing the wheel. Well… at least not completely reinventing, since there are infinite blog systems for free out there.
Be sure to come back and read a bit about CG next time!! ;)