docs
docs copied to clipboard
Bug: Local development instructions for MacOS are incomplete
Terms
- [X] I have read the guidelines for Contributing to Roots Projects
- [X] This request is not a duplicate of an existing issue
- [X] I have read the docs and followed them (if applicable)
- [X] I have seached the Roots Discourse for answers and followed them (if applicable)
- [X] This is not a personal support request that should be posted on the Roots Discourse community
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
- Use a MacOS machine with encrypted drive.
- Try to install and run Trellis.
Expected Behavior
Works
Actual Behavior
Doesn't work
Relevant Log Output
No response
Versions
1.12.0
Yeah this sounds like a useful addition. I'd encourage you to make this change yourself and contribute that improvement
I'd suggest to replace trellis with ddev for local development unless you want to deploy whole trellis infra to staging and production.
@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.
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