VVV logo VVV

Additional software can be installed via git by using the folders parameter of a site. This lets you specify a subfolder, and clone a git repository into it. VVV can also keep that repository up to date. This feature requires VVV 3.5.1 or higher.

For example, here is a WP VIP site, with a platform plugin cloned into place and updated, and a custom wp-content folder:

    repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git
      - vip.test
          repo: https://github.com/Automattic/vip-go-skeleton.git
          overwrite_on_clone: true
          repo: https://github.com/Automattic/vip-go-mu-plugins.git
          overwrite_on_clone: true
          hard_reset: true
          pull: true

Each sub-key is a path relative to the sites location. The git parameter takes the following keys:

Each subfolder is processed in the order defined in the config file. This happens after the sites provisioner script runs, but before the Nginx config file is installed. Currently clones are recursive. Private repositories require that the host machine has configured SSH access to GitHub, and that SSH agent forwarding is available.