VVV2 Adding a New Site
Add a site block into vvv-custom.yml, like this:
name-your-site-here:
repo: https://github.com/Automattic/vvv-vip-go.git
branch: master
hosts:
- name-your-site-here.test
custom:
vip-repo: git@github.com:wpcomvip/demo.git
vip-branch: master- Subsitute
name-your-site-herewith the name of your site, this will be used for the directory and will be the basis of the database name - Add the HTTP hosts (domains) you need into the
hostsarray - You always want to leave the
repoandbranchvalues as they are above, because this is the provisioning script for VVV VIP Go - Add your VIP Go client repo into
custom > vip-repo - Add the branch you want to use in your VIP Go client repo into
custom > vip-branch
For comparison, you'll end up with something like this:
vip-go-demo:
repo: https://github.com/Automattic/vvv-vip-go.git
branch: master
hosts:
- vip-go-demo.test
custom:
vip-repo: git@github.com:wpcomvip/demo.git
vip-branch: masterSave your vvv-custom.yml
vagrant provisionor, on a fresh install
vagrant up --provisionWhen finished, your VIP site will appear on the dashboard at http://vvv.test and at the hosts specified