4

I'm building my first continuous deployment setup using codeship.io to deploy to my Digital Ocean droplet. Codeship's documentation suggests using SCP to clone the production files.

My question is: should I include the node_modules folder in the clone? Or should I figure out some way to npm install on the droplet when needed?

dsundy
  • 1,124
  • 6
  • 11
  • 1
    You'll probably spend less time just using SCP, plus you get the added stability of always having the same version of dependencies in your deployment. – brandonscript Jul 23 '15 at 16:30
  • Okay, thanks @remus. I just didn't want to go ahead and do something that was completely frowned on for whatever reason. – dsundy Jul 24 '15 at 20:34

0 Answers0