3 ms·
Vagrant is also an awesome alternative to a VM or full installation of any Linux flavor. I've been playing with it and together with the subset of Linux command
by tucaz 13y ago
Vagrant is also an awesome alternative to a VM or full installation of any Linux flavor. I've been playing with it and together with the subset of Linux commands that comes with MSysGit I can even SSH into the Vagrant box from the regular Windows command prompt or Console2.
- shoebappa 13y agoThe new http://win.meteor.com http://win.meteor.com also documents two Vagrant-based solutions for those that feel the same way, and should kick-start someone unfamiliar with Vagrant / Shell / Chef / Linux. I maintain the Chef version posted here... Edit: And it should be highlighted that these Vagrant solutions offer a work around for the Meteor MongoDB to be able to utilize the Vagrant Synced folders, so the editing and viewing is near-native using your standard Windows tools. The live updating in Meteor also works, and the Vagrant versions also support Meteorite.
- deleted 13y ago[deleted]
- karanbhangui 13y agoHuge fan of vagrant, but found it really annoying for node projects. It seems virtualbox vm's don't work well when mixing shared folders and symlinks (used for local npm installs). Has anyone found a workout for this?
- shoebappa 13y agoIn Gabriel's guide (http://goo.gl/clpKa http://goo.gl/clpKa) on this page, he found a workaround that is implemented in both Vagrant solutions featured here. Essentially the directory for things like the NPM modules and the MongoDB database files would be a mount --bind symlink. This in concert with the Vagrant / VirtualBox flag: config.vm.provider "virtualbox" do |v| v.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant-root", "1"] end My Meteor Chef recipe automates the binding of these using the Chef "mount" resource and is around line 89 of the chef recipe: https://github.com/shoebappa/vagrant-meteor-windows/blob/master/cookbooks/meteor_windows/recipes/default.rb https://github.com/shoebappa/vagrant-meteor-windows/blob/mas... I don't think either of us could get this to work when putting this in fstab because Vagrant also has things in fstab and so the VM wouldn't boot, but in my case Chef handles the creation of these on boot, and in Gabriel's he recommends putting the command in the mount --bing in the .bashrc