From the course: Learning Vagrant

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Vagrant tips and tricks

Vagrant tips and tricks - Vagrant Tutorial

From the course: Learning Vagrant

Start my 1-month free trial

Vagrant tips and tricks

- [Instructor] I'd like to share some tips and tricks for using Vagrant to develop your bass boxes. The process of iterating over a bass box can be time-consuming, as you install packages and test them, individually and together. The first tip is the provision flag of the Vagrant up command. This flag will force the provisioner to run, even if it has already been run. Let's take a look at the bass box exercise in the node_dev_env repository here at GitHub, or in the exercise files. This Vagrant environment has two provisioners. Install-ngx.sh installs the ngX- rocket angular starter application, which, by the way, is also here at GitHub. If you're looking for a starter angular reference application, I recommend it. Back here in the project, install-node.sh installs node. I'll show you the process I used to develop this sample. NgX-Rocket needs node installed, so first I ran Vagrant up, with only the install-node provisioner defined. Once node was installed to the box, using Vagrant…

Contents