Seravo / wordpress

The WordPress project layout used by many of Seravo's customers, suitable also for local development with Vagrant and git deployment
https://seravo.com
GNU General Public License v3.0
100 stars 54 forks source link

Consider adding WSL support to Vagrant. #203

Open JoosuaKoskinen opened 1 year ago

JoosuaKoskinen commented 1 year ago

Vagrant is developing support for Windows Subsystem for Linux. The WSL support is now in beta and not all regular Vagrant features are supported in the environment. We should find out whether the features our Vagrant box requires are supported, what steps it would take to have our box work in WSL and is the WSL support worth the trouble of implementing.

The Vagrant WSL guide: https://developer.hashicorp.com/vagrant/docs/other/wsl

It does seem that to have synced folders (we need that), we must "opt-in" to supporting synced folders usage from VolFs file systems. I'm not exactly sure what that would actually require but if it's a simple enough change, I think it's worth implementing.

A customer has already tried to run our Vagrant box in WSL environment without success.

lecklin commented 4 weeks ago

This is just a somewhat related note now that Seravo started advocating the use of Docker for running sites locally.

I decided to try it out and can report that Seravo local dev using Docker+WSL2 is working just fine.

I'd assume this whole Vagrant via WSL is thus unnecessary.