

This will create the Bedrock project structure. in the path-to-local/site-name/app/ directory. Run composer create-project roots/bedrock. Make sure the path-to-local/site-name/app/ directory is empty. We will be updating the DocumentRoot in a later step (1.3). If you visit your website now, it will obviously be broken. We won’t be using this directory and its files, so you can go ahead and delete it. At the time of writing, I prefer PHP 7.3.5 to PHP 7.4.1 (because it is currently missing the zlib extension).īy default, your WordPress installation will be located in path-to-local/site-name/app/public.

To match Combell’s web server, select Apache in the setup wizard. New websiteĬreate a new website in Local. Mailhog is built-in and makes sure no e-mails are being sent to real people, while still enabling you to debug them, … 1.1. You can hot-swap PHP versions with the simple click of a button. I will be using Local by Flywheel as my local development environment. My projects only implement Sage & Bedrock because as far as I know, Trellis only supports NGINX, and Combell runs Apache. Trellis: Tool for managing WordPress environments.The Roots stack consists of 3 tools for developing WordPress websites
#Local by flywheel debug how to#
In this post, I will be describing how to automatically deploy your Bedrock installation from your local development environment to Combell using AutoGit. It is easy to check in to version control and we can manage our dependencies with Composer. Bedrock creates a project structure which is way more maintainable than a normal WordPress install.
