Trellis vs VVV
If you're doing Wordpress—and if so, my thoughts are with you—then check out Trellis, a config-managed LEMP stack: https://t.co/LuCt4yOTHh— John Arundel (@bitfield) November 18, 2015
|Vagrant box for local development||✅||✅||❌|
|Development & production parity||✅||❌||❌|
|Ready for WordPress core development||❌||✅||❌|
|Integrated database backups||❌||✅||❌|
|Let’s Encrypt support||✅||❌||❌|
|A+ SSL support||✅||❌||❌|
|Complete control over environments||✅||❌||❌|
Trellis and VVV have similar goals:
“The primary goal of Varying Vagrant Vagrants (VVV) is to provide an approachable development environment that matches a typical production environment.”
The problem is there’s no "typical" production environment. Just using Apache, PHP, and MySQL does not mean you’ve matched a production environment. Every production environment is different down to the minor version numbers of software packages.
Instead of using a server configuration system such as Ansible, Puppet, or Chef, VVV uses a Bash script that’s almost 1,000 lines to provision a server. This script has been made for development purposes so there’s no way it can match up with your production server. Unless, of course, you use VVV to provision it but they discourage such usage.
Trellis uses Ansible, and we’re serious about development and production parity.
If you have to pass off a project to someone else, it’s way easier just to say “here is a repository, it contains all of the configuration necessary to get a vagrant virtual machine up and running with one command”
Austin Pray on Ep0 of Roots Radio
Throughout years of my WordPress era no other server tool served me so well as Trellis. Nginx, HTTPS by Let’s Encrypt, firewall, etc. with one config file and one command. Highly recommend.
If I absolutely need to develop a WordPress site, I use the Roots stack. Trellis, Bedrock, Sage are the best thing to ever happen to any developer working with WordPress.
Working with WordPress on two projects over the next few months, the folks at Roots really have some amazing resources!
Digging back into learning in my favorite stack to developing WordPress sites, Roots. The people who’ve worked hard on this project have really made a wonderful tool for getting a development environment with parity setup super quick!
The first step is building your WordPress site correctly, and for me, that starts with using Trellis and Bedrock.
Roots stack will either teach you a lot, or make you feel right at home depending on your background. Either way. It’s a no brainer for WP development at a professional level.
Trellis makes working with teams much easier. The ability to very quickly get my team spun up with the right configuration and plugins is unreal. The amount of time savings that you get is unbelievable.
Sage, Bedrock, and Trellis by Roots have challenged me to become a better WordPress developer over the years & modernize my toolset.
Can’t believe I have gone without Trellis this long, stoked to get a LEMP stack up and running with a dummy domain under 10 minutes.
Setting up WordPress infrastructure always felt like I was being punished. Trellis has solved that problem.
If you’re doing WordPress—and if so, my thoughts are with you—then check out Trellis, a config-managed LEMP stack.
I’ve been using Trellis for a while with a lot of success. All my sites are hosted on DigitalOcean, so using Trellis + DO means I have perfect parity between my dev and production environments.