Summary

Throughout this chapter, we focused on two main things: setting up development and production environments.

As part of the development environment, we embraced free software such as VirtualBox and Vagrant to manage our environment setup. The setup alone came down to a single Vagrantfile script that contained the necessary set of commands to install everything from the Ubuntu server, PHP, Apache, MySQL, and even Magento itself. We should by no means look at this script as final and only as a valid script to set up our development environment. Investing time in making the development environment closer to the project-specific requirements pays off in terms of team productivity.

We then moved on to the production environment. Here, we looked ...

Get Magento 2 Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.