Open aweingarten opened 3 years ago
The Example WordPress Composer repo readme has a section for Working locally with Lando. I have copied the steps on the readme below with some additional notes on what I needed to do to get this to work with WordPress. I assume Drupal would be similar.
.lando.yml
file with your preferred configuration, based on the WordPress recipe.
name: [pantheon-site-name]
recipe: pantheon
config:
framework: wordpress
site: [pantheon-site-name]
id: [pantheon-site-id]
composer_version: '1.10.20'
lando start
to start Lando.
https://<PROJECT_NAME>.lndo.site
.lando composer install --no-ansi --no-interaction --optimize-autoloader --no-progress
to download dependencies
web/wp/wp-content/mu-plugins/
to web/wp-content/mu-plugins/
web/wp/wp-config.php
web/wp/wp-content
lando pull --code=none
to download the media files and database from Pantheon.
Once I have created a project with build tools its really hard to set up a local environment. If I try
lando init
I see