Skip to content
This repository has been archived by the owner on Jun 30, 2020. It is now read-only.

vv list doesn't show sites created with vvv-custom.yml #349

Open
ghost opened this issue Mar 18, 2017 · 1 comment
Open

vv list doesn't show sites created with vvv-custom.yml #349

ghost opened this issue Mar 18, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 18, 2017

After adding this in my vvv-custom.yml, 'vv list' shows only the 4 default sites and doesn't show any other sites created with the following way. I've provisioned and the site works fine.

  website:
   repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git
   hosts:
     - website.dev
@Vinsanity
Copy link

@krismorf This new version of VVV provisions differently and is separate from how VV creates sites. If you ssh into the VM and have a look at the /etc/nginx/sites-available or /etc/nginx/sites-enabled you'll see how these entries are created by the new provisioner that reads that .yml file. The VV way was a more straight forward way of adding these entries.

Until VV is updated, you can do what I do which is to first run vv create and make your site then add your site to the .yml file and run vagrant provision --provision-with site-yoursitename.

This will essentially register the site with VV and make it accessible with the new provisioner. You might run into and issue with the /htdocs folder missing so you might need to create this manually or edit the nginx.conf to not look there for the site-root.

Hope this helps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant