Should I SCP set my node_modules folder in continuous deployment settings?

I am creating my first continuous deployment setup using codeship.io to deploy to my Digital Ocean droplet. The Codex documentation suggests using SCP to clone production files.

My question is, should I include the folder node_modules

in the clone? Or do I need to somehow determine npm install

on a droplet when it is needed?

+3


source to share





All Articles