-
-
Notifications
You must be signed in to change notification settings - Fork 247
Deploying Backend Method #1
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.
- Click Here to Download the Latest Nodejs Version.
- Click Here to Download the Latest Git Version.
-
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]"
- 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
- Type in the Following to Start Deployment Process.
> gdployer deploy
- Follow the On-screen Instructions to Deploy the Backend.
- Enter a unique app name when Prompted. This will come before herokuapp.com,
Example: https://sample.herokuapp.com
- Click here for Help Related to All the Environment Variables that needs to be setted up..
Important: This project is only for personal use to share content with family and friends, do not use for commercial purpose. You are Absolutely Free to Use it for Personal and for Educational Purposes, I don't Restrict that but If I Find anyone Using for Commercial Purposes, then Strict Action can be Taken.
Is that documentation missing something? Isn't it clear enough? Help me improve it by filing a Github issue.
Wiki Documented and Structured by - Shan.tk