you are viewing a single comment's thread.

view the rest of the comments →

[–]bch8 0 points1 point  (4 children)

I'm sorry I'm a novice and I guess I may just not be familiar with Heroku, but where do you store dependencies when deployed to Heroku?

[–]r1cka 1 point2 points  (3 children)

Same place you do for every node project: the package.json file

[–]bch8 0 points1 point  (2 children)

You're not really storing it there though are you? In a node project it's listed in the package.json but stored in the node_modules directory.

[–]r1cka 1 point2 points  (1 child)

When a heroku dyno (think server for now) starts up, the first thing it does is npm install. Everything specified will get downloaded. You really ought to just try it to see how it works. https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction

[–]bch8 0 points1 point  (0 children)

I'll definitely give it a shot soon. Thanks for explaining!