VVV logo VVV

vvv-init.sh is ran when VVV sets up the site, and gives you an opportunity to execute shell commands, including WP CLI commands. This file is optional, but when combined with a git repository this becomes very powerful.

Your script might: - Download and install the latest WordPress - Update and install plugins - Checkout extra git repos - Run composer install and other dependency managers and task runners - Create an empty database if it doesn’t exist and fill it with starter content

Always Reprovision on Changes

Modifying a sites provisioner files, or config/config.yml, requires a reprovision to take effect. To do this run: vagrant up --provision

You can find an example of a site provisioner here.

That script will: