Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Thursday, October 1, 2015

speeding up vagrant and virtualbox synced folder on mac and windows


On MAC:
first, use nfs for sync folder,

in Vagrantfile:
web.vm.synced_folder "/private/var/www", "/var/www", type: "nfs", mount_options: ['rw', 'vers=3', 'tcp', 'fsc', 'actimeo=2']

actimeo=2 # increases speed of file sync

then do a: 
vagrant reload




On Windows:
web.vm.synced_folder "c:/wamp/www", "/var/www", type: "smb"

Notes: nfs on windows is not fully compatible. On linux guest machine, it does not allow file locking. This isn't good enough with rails, especially. Smb is an good option with file locking support, and fast response time. But this requires running command prompt as administrator to start smb command.


Hope it helps ;)

Monday, May 25, 2015

executing apm with atom on windows

If you have installed atom via chocolatey,
the default path to apm for atom is located in

C:\Users\yourname\AppData\Local\atom\app-0.201.0\resources\app\apm\bin