Modern WP development – Introduction to Trellis

After multiple years using MAMP for local development it was time to do something else. While MAMP is still very easy to get started especially for beginners, there is a better way available – Trellis. WPTipster, as multiple other projects WPTipster has built, uses Trellis to setup both local and live environment. While there is an option for the staging server as well, so far we have managed with just the development and production environment. This also saves us a few bucks as we don’t have to pay for the staging server.

What is Trellis?

Trellis is an open source project from the Roots team and it’s registered under the MIT license. If you don’t what MIT license is, it basically means that software as provided as it is and it is free to use for both commercial an non-commercial projects. You can follow the development at GitHub. Since the project is in very active development almost all the time, it is recommended to make sure you have the latest stable version.

Vagrant for local development

Instead of cluttering your MAMP or other software that you use for local development, with Vagrant you can enjoy using the same software you would in production. The learning curve might be a bit steep for starter, but once you go with Trellis, there isn’t a way back.

Deploy with single line of code

After you have provisioned your server, you can deploy your code with a single line. This makes releasing updates like a walk in the park. Trellis can be deployed to any Ubuntu 16.04. WPTipster has used Digital Ocean, Vultr and Amazon AWS. While Digital Ocean is the recommended place to host, Vultr also works well and is a bit cheaper compared to Digital Ocean. Amazon AWS is a good option as well, but not something that can be recommended for first time Trellis users. WPTipster is currently running at Vultr.


If you are familiar with WordPress development, you have probably heard the term LAMP before. LAMP stands for L = Linux, A = Apache, M = MySQL and P = PHP. While LAMP has been the standard for years in WordPress development, with Trellis this is not the case. Instead of the LAMP stack, with Trellis you use LEMP stack. L = Linux, E = Nginx, M = MariaDB and P = PHP. You might noticed that Nginx goes with E instead of N. Apparently this is mainly because it is easier to pronounce. If you want a better explanation, visit

Two simple reasons to start using Trellis

While there are multiple good reasons to start using Trellis today, the biggest two takeaways are:

  1. Same software in local – and production environments
  2. Fast deploys – Single line command

Stay tuned – We will release more content soon on how to get started with Trellis