David Quispe Aruquipa

Getting started with Heroku’s command line tool on macOS

Nowadays deploying web applications on the cloud has never been as easy as before. Cloud platforms like Heroku, Google, or AWS provide developers tools to allocate, maintain and deploy their web applications in a few simple steps. In the following, we will look at Heroku’s command line tool (commonly referred to as Heroku’s CLI). This tool helps us to set up our web applications to upload and deploy them on Heroku’s cloud platform. In this tutorial, we will learn how to install, set up, and use some of the key features of Heroku’s CLI.


Deploying a PHP application on Heroku

Since its first appearance back in 1995, PHP is among the most used programming languages to develop web applications. Its simplicity and efficiency allowed developers to build miscellaneous web applications like Facebook, Wikipedia, WordPress, and more.

In order to deploy a PHP web application, we usually need to set up an Apache server. Fortunately, nowadays cloud platforms like Heroku allow us to easily have our project up and running in a few steps.

In this tutorial, we will deploy a PHP web application on the Heroku platform. This platform offers to developers different ways to deploy their applications. In particular, since GitHub is widely used for managing projects, we will focus on deploying a PHP project on the Heroku platform, from a GitHub repository.


Deploying a Flask app on Heroku

During the last years Python became one of the most used programming languages. Its applications cover many fields like artificial intelligence, web services, data science, and many more. Particularly, in here, we are interested in developing a RESTful API. In order to do this, we use Flask, a python framework that makes easy to develop any kind of web service based on the HTTP protocol.


open
Build, deploy and scale your app with Back4App Containers

open
Build, deploy and scale your app with Back4App Containers. Start today!