What will this give you?
- Ready to Dev local Wordpress instance which works on OSX, Windows and Linux
- Improved wordpress structure, swapping the dreaded /wp-content for /app
- Composer dependency management for WP Core and WP Plugins
- Docker container LEMP Stack
- PHPMyAdmin for easy Database Management
- WP-Cli out of the box
- If you don't already have it - Install lando from here.
- Once installed, in root of project run:
lando start
- Install dependencies with composer:
lando composer install
(if you have composer installed locally then you can just runcomposer install
) - If .env file does not get created automatically please rename .env.example or copy to .env
- Visit http://lando-wp-bedrock.lndo.site/
- Database can be viewed with PHPMyAdmin here http://pma.lando-wp-bedrock.lndo.site/
The domain lando-wp-bedrock.lndo.site is just the default that works out of the box, you can customize the domain to anything you wish via the .lando.yml and .env file
Lando Docs - https://lando.dev/
Bedrock Docs - https://roots.io/bedrock/
I take no credit or claim on any of the packages used in this repo. They are all maintained by their respective owners. I'm simply sharing the stack I like to use, and thought others might too.