Overview

So you have recently programmed a discord bot or have a script which you want to be able to decide when to run? Well you have to come to the right place. Today, I am going to explain how to quickly and efficiently deploy your python script to Heroku along with the advantages of doing such through the Mac Command Line.

Why to Deploy Your App to Heroku?

One of the main reasons why to deploy your python script to online cloud platforms like Heroku is because it is a much more efficient and practical way to run your script rather than executing the script from your local machine. If you continue to run that script for long periods of time (talking days here) from your local machine inside an IDE or through the command line, not only does that usually go against the rules of your internet service provider, but it does not make much sense. Meaning, say you were to close your computer or the terminal tab, that means that your script is terminated as well. However, through utilizing an online deployment service like Heroku, you can run that script, usually for FREE, and can even toggle between when to execute it or not.

Getting Started

  1. I am going to assume that you already have a python script of some sort which you want to deploy, from here our next step is to make sure that we have the command line tools for Heroku. However, before we can do that, most Mac’s have to install the Homebrew package installer in order to be able to download the Heroku Command Line Interface.

#heroku #deploy #programming #cloud-platform #python

How to Deploy Your Python Script to Heroku in 4 minutes
23.80 GEEK