Skip to content

Deploying Backend Method #1

tks18 edited this page Dec 3, 2020 · 15 revisions

Deploying Backend - Method 1: Deploy the Backend Using my CLI Tool which Automatically Deploys to Your Heroku Account with all the Work Done including the Environment Variables.

Install the Latest Nodejs Version:

  • Click Here to Download the Latest Nodejs Version.

Install Latest Git Version:

Configure Git:

  • Before Using Git, You have to Configure the Git username and email from which it should Commit the Changes, Which can be Done by:

    • Set the Username (Replace Yours with the Example)
    > git config --global user.name "FIRST_NAME LAST_NAME"
    • Set the Email (Replace Yours with the Example)
    > git config --global user.email "[email protected]"

Install the G-Index CLI Tool from Command Line:

  • Open Cmd or Terminal as the Case maybe and Type the following
> npm i -g gindex-cli-tool
  • After Installing the Package, Enter the Following to Initialize the Tool and Check for all the Pre-requisites
> gdployer init
  • After Performing all the Checks it give a Success Output.
  • Type in the Following to Login to Heroku Account from the CLI.
> heroku login

Deploy the Backend:

  • Type in the Following to Start Deployment Process.
> gdployer deploy



If You see the Build Process then You Have Successfully Deployed the Backend Code to Heroku. Next Step is to Configure Environment Variables. Go to Next Page for Configuring It.

Go Back
Manual Deployment of Backend
Go to Next Page

Clone this wiki locally