docs icon indicating copy to clipboard operation
docs copied to clipboard

Bug: Local development instructions for MacOS are incomplete

Open yakovsh opened this issue 3 years ago • 4 comments

Terms

Description

What's wrong?

Unable to run Trellis on MacOS

What have you tried?

What insights have you gained?

The NFS mount type doesn't work by default on MacOS because of encrypted folders. That is in the docs but the solution is not.

Possible solutions

The solution is to change "vagrant_mount_type" in vagrant.default.yml file from "nfs" to "virtualbox" on MacOS. This should be mentioned in the docs.

Temporary workarounds

Steps To Reproduce

  1. Use a MacOS machine with encrypted drive.
  2. Try to install and run Trellis.

Expected Behavior

Works

Actual Behavior

Doesn't work

Relevant Log Output

No response

Versions

1.12.0

yakovsh avatar Jan 10 '22 02:01 yakovsh

Yeah this sounds like a useful addition. I'd encourage you to make this change yourself and contribute that improvement

swalkinshaw avatar Jan 10 '22 03:01 swalkinshaw

I'd suggest to replace trellis with ddev for local development unless you want to deploy whole trellis infra to staging and production.

juslintek avatar Feb 06 '22 17:02 juslintek

@juslintek plenty of folks in this community are using trellis even for just deployment purposes - there's a lot of flexibility with trellis. people should use whatever tool works best for them 😄

...but coming on here and mentioning a different tool is not relevant to this issue or helpful whatsoever. there's no need to chime in with what your preferred tool is when someone is asking for help on something unrelated to what you're talking about.

retlehs avatar Feb 06 '22 17:02 retlehs

Why you see evil in this, when single underlying intention is to help. P.S. You mention DDEV in your docs yourself, over here: https://docs.roots.io/bedrock/master/local-development/

Sometimes changing tool is faster, than getting stuck with same one for weeks.

Maybe If you're using M1 then I guess it might be the issue, because I've had issue running trellis image on M1 so switched to docker. bento/ubuntu-20.04 (or maybe you have to buy parallels in order to use it) image compatible with arm64 should be released, but is not yet available in cloud https://github.com/chef/bento/issues/1344

juslintek avatar Feb 13 '22 21:02 juslintek