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: [email protected]:wpcomvip/demo.git
vip-branch: master
- Subsitute
name-your-site-here
with 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
hosts
array - You always want to leave the
repo
andbranch
values 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: [email protected]:wpcomvip/demo.git
vip-branch: master
Save your vvv-custom.yml
vagrant provision
or, on a fresh install
vagrant up --provision
When finished, your VIP site will appear on the dashboard at http://vvv.test and at the hosts specified