In Vanilla, Addons are installed by adding addons into one of the following directories:
Installing an Addon by Symlink
Most addons have their source code managed in a VCS tool like Git. Copying a directory would make it difficult to update in the future through the VCS, so Vanilla prefers to symlink addons. Picture the following directory structure in a vanilla-docker setup.
workspace
- vanilla
- vanilla-docker
- repo-with-addons
The objective
Our goal here is to have my-addon
be installed in the vanilla plugins directory.
Making a Symlink
MacOS or Linux
cd ~/workspace/vanilla/plugins
ln -s ../../repo-with-addons/plugins/my-addon
Note a relative symlink is used. This allows the symlink to continue to work when things are synced into the docker instance.
Windows
cd /D %userprofile%\workspace\vanilla\plugins
mklink \D my-addon ..\..\repo-with-addons\plugins\my-addon