to import your box the first time it is used ▸ “Boxes” take up a considerable amount of hard disk space ▸ Using the WordPress admin in a virtual environment can be slow if your computer is kinda slow
“Scotch Box” is a Vagrant box configured for PHP development ▸ “WPDistillery” is a configuration file and shell script to get your “Scotch Box” setup for WordPress development ⁃ Clone Scotch Box and WPDistillery from the command line ⁃ Open up and edit the config.yml file
command line in your project directory launches your virtual machine ▸ Behind the scenes, Vagrant is communicating with VirtualBox to boot up your virtual machine ▸ Once we finish configuration, running “vagrant up” from your project directory will be all you need to access your development site in the web browser
can SSH into your “box” via “vagrant ssh,” giving you command line access to your development environment ▸ Update WP-CLI + execute the the WPDistillery shell script ▸ Now WordPress is setup and ready to go!
down your machine ▸ vagrant destroy - deletes your machine (including the box) ▸ vagrant share - share your development site with anyone that has your Vagrant generated URL (need to install the ‘Relative URL’ plugin — https://wordpress.org/plugins/ relative-url/)