- Published on
Deploying Angular to Heroku
- Authors
- Name
- Peter Peerdeman
- @peterpeerdeman
A couple of simple steps to quickly create a nodejs angular application and host it on heroku.
npm install -g yo
yo angular
- develop the app
- use
grunt
to build the dist folder heroku create
- set buildpack:
heroku config:add BUILDPACK_URL=https://github.com/mbuchetics/heroku-buildpack-nodejs-grunt.git
heroku labs:enable user-env-compile
heroku config:set NODE_ENV=production
heroku push