Keep calm and vagrant up
- Are you tired of setting up dev environments for every single new member that joins your team?
- What about updating these dev environments?
- What about the setup differences between dev machines (Windows, Linux, OSX) and also between dev env and your servers?
In this presentation it'll be shown how you can ensure a homogeneous development environment across your team members, and also make it possible to update all of them by making the changes in only one place.
Vagrant is a powerful tool that allows you to easily share ready-to-use Virtual Machines and run them on several platforms, including AWS machines provisioning.
Together with vagrant, we can use Puppet or Chef for managing its configuration and vagrant plugins in order to control services like Apache, Nginx, MySQL from outside the VM.
The first version of this presentation was presented at a DrupalSH Meetup in Shanghai (China) based on the experience of creating a dev environment for the people that joined the Drupal Global Training Day in Ningbo (China), and now I'm going to present a new version of this covering some new tools and tricks. :)
Get Apache (or Nginx), MySQL, PHP, APC, memcache, Drush, PHP Code Sniffer, XDebug and any other tool up and running within minutes.
Keep using the IDE you prefer in your computer and place your codebase either within the VM or your local machine. Just map/share the other way around so your IDE can see it.
Get rid of the "Works on my machine" excuse!