You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Whoooops! Looks like you've already got a git repo here!
Either delete this repo or try to lando init in a folder without .git in it
The text was updated successfully, but these errors were encountered:
aweingarten
changed the title
Create Pattern for setting up a local environment
Create Pattern for adding local environment to build tools site
Apr 13, 2021
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.
Save the local site URL. It should be similar to https://<PROJECT_NAME>.lndo.site.
Run lando composer install --no-ansi --no-interaction --optimize-autoloader --no-progress to download dependencies
I received an error when running this command that is centered around the commands located at /scripts/composer/cleanup-composer . To get the lando site working, I manually completed the steps in those commands.
Copy contents of web/wp/wp-content/mu-plugins/ to web/wp-content/mu-plugins/
Delete file web/wp/wp-config.php
Delete folder web/wp/wp-content
Run 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
The text was updated successfully, but these errors were encountered: