Post Status Excerpt (No. 57) — WordPress Development with Docker and Lando

Photo of author
Written By David Bisset

1 thought on “Post Status Excerpt (No. 57) — WordPress Development with Docker and Lando”

  1. I agree with Cal that Lando is really awesome for plugin development. I added it to my plugin repo, and it makes it a breeze to create a development webserver with the plugin installed, symlinking to the source files (so that modifying the source reflects the changes immediately in the plugin), and supporting XDebug out of the box. And one really great thing is that it assigns an external IP to the database, so I can query the DB using MySQLWorkbench (which I haven’t seen when using other Docker-based systems).

    My lando config is: https://github.com/leoloso/PoP/blob/master/webservers/graphql-api-for-wp/.lando.yml
    I added scripts in my composer.json to operate with it: https://github.com/leoloso/PoP/blob/master/composer.json#L583-L591
    Then, to initialize the DEV server, I just execute `composer start-server`: https://github.com/leoloso/PoP/blob/master/docs/development-environment.md#starting-the-lando-webserver

    It makes it easy to share the set-up with contributors to open source projects, so that everything is automated.

Comments are closed.

A2 Hosting
WordPress.com