Open merlinstardust opened 8 years ago
I can't quite understand what's the utility of using vagrant with mantra. Wouldn't it be the same as using a vagrant script for meteor?
Mantra requires Meteor as well as Node/NPM. Meteor's .meteor/local
and Node's node_modules
directories do not like to be used across synced folders. So this repo handles both. It's entirely possible for a Meteor app to not require NPM packages at all, in which case the Vagrantfile would be different.
Now I get it. Nice!
What benefits do you get by using mantra with vagrant? Complete isolation from the running machine?
Complete isolation is one point. Another is that Meteor runs best on Linux, so if you're on Mac or Windows, it will run better. If you're on Linux, it's more just the isolation you'd get
I've create a repo containing a Vagrantfile and related scripts that builds a virtual machine for Mantra.
https://github.com/vagrant-templates/mantra
Should be useful for anyone who likes to use Vagrant in their stack.