Getting Started with Vagrant for Local Development: Lesson 18 of 20

But isn't there just an easier way? (Hello, Scotch Box!)

Up Next

Build a Basic LAMP Stack with Vagrant (from scratch!)

Autoplaying in 7 seconds!

Cancel

Easiest Vagrant Setup

As you can see, Vagrant is really easy to use. The core underlying concepts aren't even that complex despite it having insane amount of depth of features.

At the end of the day though, you're still stuck building a server, just in a file now! What if you don't know servers? Are you screwed?

Not really. There are plenty of resources online of prebuilt setups. Scotch Box is one of the most popular vagrant setups on the Internet.

Table of Contents

    Scotch Box

    Scotch Box makes Vagrant super easy. Let's go back to one of our graphics to explain why:

    The Vagrantfile Dissected

    What if you like vagrant, you like the environments, but you don't want to bother with anything else. Like you just want it pre-configured and setup.

    Scotch Box is a unique use case of Vagrant. The base operating system, "the box" comes with the most intense LAMP/LEMP stack you can want. It's perfect for development and requires ZERO configuration:

    • Ubuntu 16.04!
    • PHP 7!
    • MySQL 5.7!
    • NGINX Option!
    • Go lang in the box
    • PHPUnit in the box
    • Yarn
    • Improved email catching with MailHog
    • Vagrant Share working nicely finally
    • The box's build scripts
    • Customize your own boxes in minutes
    • Generally higher versions of things (Node.js, Ruby, etc.)!

    If this interests you, check it out here at the Official Docs. There should also be a course on this out (if not soon).