Get Your Python Flask App Deployed on Heroku in a Swift

Precious Kolawole
8 min readJan 11, 2021
Picture from MessageOps

There’s this desire you get to share your work with others after building an application as you wouldn’t be able to carry your laptop to show people one after the other how great what you built is. Heroku shows its face where it matters, allowing developers to get on with what they do, in order to make them focus on building great apps which is the most important.

Heroku is a container-based cloud Platform as a Service (PaaS) mainly for deploying, managing, and scaling modern apps. With Heroku, there is no need to learn about server configuration, network management, or tuning the latest version of a database as all you have to do is to sign-up, download some needed tools, push your codes to the platform effortlessly, and get it up and running.

These are baby steps into getting your apps to the market so I’d be taking you through the process of creating your first flask app for those without any prior knowledge. In case you’re already familiar with the flask framework and only want to know about deployment, kindly scroll down to the subtopic Heroku Command Line Interface (CLI).

Set Your Python or Flask App

First of all, I’d assume you have python already installed on your Terminal. Let’s start off by installing the packages we’d be needing. This can be…

--

--

Precious Kolawole

Health Technology Enthusiast || Engineering @ Shopify || Data scientist and Machine Learning Engineer