How to Create Your Own Blog with Django/How I created This Blog

by Sabbir Ahmed


Posted on: 3 years, 8 months ago


Blog Site: sabbir.dev
Blog Site: sabbir.dev

 

This article is for fellow engineers, developers, or just tech enthusiasts. I have heard questions about how I started my blog and why?

Let talk first about "why?"

- I just wanted to share what I learned with the world. I will call it a success if I can help one person and one person only.

 

And now the "How"

The blog is built with Django and Django Rest Framework(DRF). Postgresql is and always be my choice for a database. For deployment, I have used gunicorn, Nginx, Docker, and docker-compose.

The server is secured with Let's Encrypt.

Some Django extensions were used to get better performance. 

  • Sorl Thumbnail - To save space and better user experience.
  • Django Compressor - To compress and serve static css/js files into an inline and cached file. (I love this library)
  • Django CKEditor - That's where I am writing this blog now. It's highly customizable and supports math syntax. So why not!

Subdomains

If you read my articles, you may know that I am a self-taught machine learning engineer with the necessary skill of backend and infrastructure to deploy my machine learning models to production. With limited resources and funding, I was able to deploy only one of my projects (some projects are yet to come), I have deployed an API Gateway and a web app for the project Vincent AI. 

Final Result

Rated 98 out of 100 by PageSpeed Insight for Desktop. 

Let me know your thoughts or if you need me to write about anything.