This README outlines how to quickly deploy your Angular CLI project to Heroku.
git clone https://github.com/AryanJ-NYC/angular-cli-heroku-boilerplate.git <your-project-name>
cd <your-project-name>
npm install
npm start
- Visit your app at http://localhost:8080
- This should be similar to my Heroku site
OR
- Install Homebrew
brew install heroku
heroku create <your-project-name>
git push heroku master
heroku open
- Added
server.js
- Added
@angular/cli
to dev-dependencies inpackage.json
- Added
@angular/compiler-cli
to dev-dependencies inpackage.json
- Added
postinstall
script topackage.json
that builds app for production deployment - Edited
start
script inpackage.json
to launch runserver.js
instead of Angular CLI server
Like this boilerplate? Support my developments.
Please star this repository to help it gain exposure.