All php versions aren’t same.
Separate development environment per developer or different versions among developer creates inconsistent development environment. To avoid these kind of inconsistencies we need something that provides uniform environment setup for everyone to work. To avoid this problem we can use virtualbox. Vagrant is the tool, that allows to build and manage virtual machine environments in single workflow.
DrupalVM is a VM for Drupal, it makes easy to use Vagrant with Drupal but we still need to make sure everyone is using the same configuration
We can use DrupalVM as part of our project. There are two ways to add DrupalVM to your project: one is by committing all the VM related files to repo and other is via composer.
Issue with first approach is that it adds lots of redundant files in repository which are not really required on production and increases size of repository.
The other approach with composer, allows to add DrupalVM from composer itself and everything will be done with composer install.
In this session, we will be discussing about:
How to add DrupalVM in your current drupal project.
How to build your local environment with DrupalVM
We will discuss about required files for setup and related changes that are required to up and run vagrant.
Providing configuration to vagrant from config file.
Brief introduction to vagrant’s config yml files.