It was recently suggested to me that while working on a contrib projects, I could place a symlink in my local dev site to the local git repo of the contrib module to avoid putting one git repo inside of another.
However, I'm working with Lando and this doesn't seem to work so well. I'm not sure that Lando knows how to look outside of the container with a symlink.
I found this article which seems to be describing the same thing - https://leoloso.com/posts/lando-symlinks/
My attempt to set this up doesn't work. I have this in my .lando.yml file
services: phpmyadmin: type: phpmyadmin hosts: database type: php: 7.3 appserver: build: - wget -qO bee.zip https://github.com/backdrop-contrib/bee/archive/1.x-1.x.zip - unzip -q bee.zip && rm bee.zip - mv bee-1.x-1.x /usr/local/bin/bee extras: - apt-get update && apt install vim -y run_as_root: - ln -snf /home/tim/Sites/backdropcms/theme-projects/snazzy /app/themes/snazzy
In the site directory, when I navigate to /themes/snazzy/ - it seems to take me to the correct directory.
However, snazzy is not showing up as an option in Backdrop CMS.
Has anyone else done this successfully?
Just to repeat for clarification. If I follow the instructions in the blog post and configure my .lando.yml file as shown above. The symlink gets created when I start lando. I am able to navigate to the destination on the command line, using the symlink. BUT, the module or theme is not showing up in Backdrop CMS as expected.
I'm not sure how to debug this any further. All suggestions would be welcome.