Using npm scripts to deploy to a Vagrant image

InstructorWill Button

Share this video with your friends

Send Tweet

One of the biggest stumbling blocks I see when pushing code to production servers is unidentified dependencies: something installed locally on my workstation that doesn’t exist on the production servers. In this lesson, I’ll show you how to use npm scripts to deploy your node.js application to a newly-provisioned server via Vagrant for validation before going to production.

Ria Nicole
~ 7 years ago

Thanks for this tutorial! Very helpful.