generator-angular icon indicating copy to clipboard operation
generator-angular copied to clipboard

Heroku Deploy

Open lifeiscontent opened this issue 13 years ago • 4 comments

is there any way to deploy an angular app to heroku.

I almost got it working... but when I moved everything that was a devDepenency in package.json to just a dependency things broke.

my post install command looked something like bower install && grunt build

but the grunt build task doesn't work when using all devDepencencies as dependencies

lifeiscontent avatar Nov 06 '13 23:11 lifeiscontent

Sorry, this is an issue tracker and that's more a type of question for Stack Overflow. There's also generator-heroku which could be helpful for you.

passy avatar Nov 07 '13 20:11 passy

Was just attempting to deploy my generator-angular app onto Dokku (hosted Heroku which is setup the same way).

Wasn't getting a node_modules folder and it seems both heroku and dokku run npm install --production so your deps need to exist in dependency rather than devDependency. Is there any reason why this project places them as devDeps? Perhaps we can move them to dependency?

intellix avatar Jul 05 '14 23:07 intellix

I'm at the same point with an app that I've to push on a dokku env. @intellix do you had some step advance on that? Thank you!

cescox avatar Oct 27 '15 22:10 cescox

Actually, moved from this generator to https://github.com/Swiip/generator-gulp-angular long ago, which is extremely active and modern

intellix avatar Oct 28 '15 09:10 intellix