Heroku_Guide - MaxGolden/Personal_Blogs GitHub Wiki
Heroku
Heroku installation for MAC
[1] install brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
[2] install heroku by using brew
brew tap heroku/brew && brew install heroku
For committing a new heroku app
[1] edit package.json add this into it.
# The node and npm version you want heroku to run
"engines": {
"node": "8.1.1",
"npm": "5.0.3"
},
[2] edit package.json add replace this.
"scripts": {
"start": "node index.js"
},
[3] add .gitignore in main folder like this
.gitignore =>
node_modules