Should I check in folder “node_modules” to Git when creating a Node.js app on Heroku?

I followed the basic getting started instructions for Node.js on Heroku here: https://devcenter.heroku.com/categories/nodejs These instruction don’t tell you to create a .gitignore node_modules, and therefore imply that folder node_modules should be checked in to Git. When I included node_modules in Git repository, my getting started application ran correctly. When I followed the more advanced example … Read more

Heroku: How to push different local Git branches to Heroku/master

Heroku has a policy of ignoring all branches but ‘master’. While I’m sure Heroku’s designers have excellent reasons for this policy (I’m guessing for storage and performance optimization), the consequence to me as a developer is that whatever local topic branch I may be working on, I would like an easy way to switch Heroku’s … Read more

Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly

I’m attempting to deploy my code to heroku with the following command line: git push heroku master but get the following error: Permission denied (publickey). fatal: The remote end hung up unexpectedly I have already uploaded my public SSH key, but it still comes up with this error. 34 s 34

Why do people use Heroku when AWS is present? What distinguishes Heroku from AWS? [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 3 years ago. Improve this question I’m a beginner RoR programmer who’s planning to deploy my app using Heroku. Word from my … Read more