Set­ting up Craft with Vagrant

Vagrant has become an increasingly popular tool to help make managing multiple development environments easy. At this Dev Day, we take a look at how to manage a Vagrant machine to develop a Craft website.

Vagrant has become an increasingly popular tool to help make managing multiple development environments easy. At this Dev Day, we take a look at how to manage a Vagrant machine to develop a Craft website.

This Dev Day was lead by Jason McCallister. The style of this event includes a short presentation and open conversation.

  • 00:25 Introduction and Goals
  • 01:16 Why Vagrant?
  • 03:35 A high level view
  • 04:40 Vagrant workflow
  • 05:52 Vagrant files & basic commands
  • 09:02 "But don't I need to be a system admin?"
  • 09:48 Setting up Vagrant with Puphpet
  • 11:09 Setting up Vagrant with Vaprobash
  • 12:44 Setting up Vagrant with Homestead
  • 15:28 Q&A: Can we create an image of our Digital Ocean server and use it in Vagrant?
  • 17:11 Q&A: Do you setup a Vagrant box for each Craft install or have one box for multiple sites?
  • 17:44 Q&A: How do you work in a team environment when you have several developers working on a single Craft instance?
  • 20:20 Q&A: Does Vagrant affect which tools you use in your workflow?
  • 22:34 Q&A: A few things to consider when working with Craft on a team
  • 26:52 Q&A: Is there anything else Craft-specific about a Vagrant environment?
  • 27:44 Q&A: Is there an easy way to keep everything about a Vagrant setup up to date?
  • 28:56 Q&A: vagrant share and how to share your Vagrant box with someone else (even a client)

Level up in Craft CMS with practical examples, snippets, and patterns.
Craft The Planet emails are sent out several times a week.