My blog - Code Disciples

Code Disciples is a blog for all things code. The internet is vast and is full of great content and mostly awesome folks who are always willing to help. However, sometimes, we run into a real head-scratcher that requires rummaging through heaps of documentation or tutorials and abusing Q&A sites until we hit that "eureka!" moment. Most blogs on Code Disciples stem from such painful moments of frustration. The site provides a means for me to document topics or scenarios that I struggled with when I first encountered them or subjects that I simply felt would be fun to blog about. I hope you find at least some of them to be useful.

The site is developed with Pelican and deployed using Netlify.

  • Deploying a Python application on a Linux server - Part I

    In this post, we will set up a bare-bones Linux server hosted on a cloud platform and make it ready for the deployment of a Flask application.

    Full article.

  • Custom Commands with Flask

    In this post, we will explore creating custom commands in Flask using the Click library. Click is one of the dependencies that is installed along with Flask.

    Full article.

  • Deploying a Flask website on Heroku

    In this post, we will be deploying a Flask application using Heroku. Heroku is a popular Platform as a Service (PaaS) that is used to deploy, manage and scale web applications. It comes with a lot of features built-in that abstract away most of the complications involved in traditional web-based deployments.

    Full article.

  • Queries using Flask SQLAlchemy

    In this post, we will go over writing database queries using the Flask SQLAlchemy library.

    Full article.