Installation of Heroku

Step 1: Install git in your system

sudo apt-get install git -y

The output is as follows:

 

Step 2: Register on Heroku

Register on Heroku. It is available for free as well as has pricing options. To register, proceed to https://www.heroku.com/.

On registration, proceed to the next step.

Step 3: Install Heroku CLI.

Install Heroku CLI in Ubuntu as follows:

sudo snap install --classic heroku

Output

 

How to Install Heroku and Deploy a Static Website on Ubuntu?

Heroku is a cloud platform that provides a platform as a service(PAAS) to deploy either static or dynamic websites. Heroku is managed by Salesforce. Heroku allows CI/CD, code rollbacks, automatic deploys, Github integration, app metrics, and much more. Heroku allows building, running, and deploying applications on the web. It supports several programming languages and is hence widely popular.

In this article, we will install git and Heroku and then deploy a static site. A static site is a site that doesn’t have a backend. Our site will contain a simple index.js file only. We will require Node.js as Heroku requires but we wouldn’t process any data.

Similar Reads

Installation of Heroku

Step 1: Install git in your system...

Deploy website on Heroku

In this section, we are going to deploy our website....