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