- ng build --prod //--prod meta-flag engages the following optimization features
- create App directory:
- create public in GS1_Angular_Prototype_Build
- git init
- npm install --save
- npm install --save chart.js
- npm install angular-gtag --save
- npm install --save express
- create server.js
- heroku login
- heroku git:remote -a "SERVER_NAME" (heroku git:remote -a shrouded-brook-49369)
- git add.
- git commit - m "Initial Heroku Commit"
- git push heroku master
Refer to:
https://github.com/angular/angular-cli/wiki/build
https://www.youtube.com/watch?v=0bOJjAUXjhI
Refer to:
https://github.com/angular/angular-cli/wiki/build
https://www.youtube.com/watch?v=0bOJjAUXjhI