Skip to content

Deploying Backend Method #1

tks18 edited this page Dec 2, 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:

Click Here to Download the Latest Git Version.

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