Vagrant VM for D8 development

Events happening in the community are now at Drupal community events on www.drupal.org.
chris_hall_hu_cheng's picture

Hi all,

Would appreciate some testing and feedback on the following VM if you have time or use for it.
https://github.com/chris-hall-hu/Drupal-8-easyvm

It is based on the project at https://drupal.org/project/vm which is turn based on a setup generated at puphpet.com.

Feedback and testing of this will help issues with drupal.org project, particularly in the area of solutions to shared directory (between host and guest) and performance.

I have been approaching from a Windows direction (I know .....) so OSX and Linux feedback particularly useful. Needs some tidying up as a lot of the puphpet stuff is trying to account for all guest os use cases plus the config.yml wasn't being read into the VagrantFile initially so lots of repetition of config.

basically just wants to be a Vagrant VM that installs the latest version of D8 code the first time it is started up requires minimal knowledge and messing (ruling out any of the examples I seen for getting NFS to work on Windows for example).

Things to feedback on:

Is half a gig enough memory,? seems to work Ok, I can even run tests (from command line with Drush).

Is Samba share the best (simple way) to go with sharing the code on Windows host, so far it has always been the best approach for me?

Etc.

Cheers,

Comments

Improved Samba share

chris_hall_hu_cheng's picture

For anybody interested, have now improved the Samba share (there may have been write permission issues for some from the Windows host).

Also looking at rsync as option for the shared www directory, although yet again that won't work for Windows (unless they have rsync available via cygwin or similar), and running and stopping rsync-auto adds another little complexity to the work-flow.

I have also started simplifying based on making it Ubuntu specific, as in the real world there doesn't seem to be any bullet proof universal vagrant solution for the the vast number of host/guest combinations.