Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Do you need vagrant to use a vvv?


Asked by Mckenna Clay on Dec 14, 2021 FAQ



VVV requires recent versions of both Vagrant and VirtualBox to be installed. Vagrant is a “tool for building and distributing development environments”. It works with virtualization software such as VirtualBox to provide a virtual machine sandboxed from your local environment.
In respect to this,
These caveats are common to Vagrant environments and are worth noting: If the directory VVV is inside of is moved once provisioned (vagrant-local), it may break. If vagrant destroy is used before moving, this should be fine. If VirtualBox is uninstalled, VVV will break. If Vagrant is uninstalled, VVV will break.
Just so, Run vagrant ssh, if this works and you’re able to get inside the VVV machine and run commands that is useful information, and may allow you to manually run the commands to bring up nginx and PHP Halt the machine with vagrant halt and turn it back on in debugging mode using vagrant up --provision --debug > vagrant.log.
Besides,
VVV is a local developer environment, mainly aimed at WordPress developers. It uses Vagrant and VirtualBox, and can be used to build sites and contribute to WordPress. To use it, download and install Vagrant and VirtualBox.
Next,
If you have run vagrant halt recently, a database backup will be available. Using these, the site can be recovered from a fresh VVV box. Follow the starting from fresh instructions at the top of this document to recover.