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.


Getting started with Heroku and NodeJS

Nowadays deploying web applications no longer requires setting up a server from scratch. Cloud platforms like Heroku allows us to deploy and set up web applications in a few steps.

In particular, in this tutorial, we will learn how to deploy a REST API on the Heroku platform. The API is developed using NodeJS. Heroku provides different methods for us to upload our projects onto the platform.

Depending on the use case, one method may be better than the other. With no particular preference, we will upload the API on GitHub and connect the repository to Heroku for deployment. All the process is split into the following steps:

  • Set up a new application on Heroku
  • Configure an add-on in the new application
  • Set up the NodeJS REST API project
  • Deploy the project

open
Build, deploy and scale your app with Back4App Containers

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