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

Is there a way to "disable" projects? #369

Open
yuriy-vasilyev opened this issue Nov 11, 2017 · 1 comment
Open

Is there a way to "disable" projects? #369

yuriy-vasilyev opened this issue Nov 11, 2017 · 1 comment

Comments

@yuriy-vasilyev
Copy link

Hi,

As everybody knows every time we turn vagrant on/off, as well as creating/removing projects, it goes through all sites and databases, makes DB backups, etc.
Therefore, when you have 10, 20, 30+ sites with huge databases, it's taking 10-30 minutes to handle all that stuff.

So I'm wondering if there is a way to throw some sites out of that process without removing them completely? Maybe rename a project folder or a config file somewhere by suffixing it with ".off" for example?

It would be super helpful.

Thanks!

P.S. Sorry if it's a wrong product to open a new issue.

@tomjn
Copy link
Contributor

tomjn commented Dec 11, 2017

Hello!

Tom here from VVV, I'd advise against using VV as it doesn't fully support VVV 2

In this case, VVV 2 already supports this, just add skip_provisioning: true to the site, e.g.

before:

  mysite:
    hosts:
      mysite.test
      mysite.com

after:

  mysite:
    skip_provisioning: true
    hosts:
      mysite.test
      mysite.com

Now VVV will skip that site on when it provisions

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

2 participants