Deploy Node.js to Heroku

Create a GitHub Repository and add the GIT in your Local Machine (Even if is a subfolder of a Git).

  • git init
  • git add .
  • git commit -m”Adding Files”
  • git remote add origin https://github.com/Edxael/…..
  • git push origin master

 

Follow Instructions in Documentation: LINK

Create the files:

 

Update file “package.json” add missing data, compare to This File: LINK

 

Install: “Heroku CLI”  –> LINK  example in how to do it below:

 

Mega GOTCHA:  

 

Open the terminal in your PWD for your app:

Deploying to HEROKU

 

 

 



Copyright 2017. All rights reserved.

Posted August 12, 2017 by Edmundo in category "Node