Lando: https://docs.lando.dev/
NOTE: Lando requires a specific version of docker which is loaded as part of the lando package. Do not update docker separate from lando. When you update lando docker will be updated as well.
Reference the developer documentation in to docs
directory.
lando start
lando composer install
lando set
lando db-import <filename>
lando retune
You can get the local site urls using this command.
lando info
See the README file located in the votegov
custom theme for a quick start.
lando drush cr
lando drush uli
lando drush cim
lando drush cex
Command | Use case |
---|---|
lando info |
Get info on a lando container include url links. |
lando start |
Start the container |
lando stop |
Stop the container |
lando poweroff |
Turn off lando and all containers |
lando rebuild |
Rebuild the container (retains your db, use when there are updates to .lando.yml) |
lando destroy |
Destroys container and your db (when all else fails) |
Command | Use case |
---|---|
lando retune |
Runs a list of commands to sync changes when pulling commits or checking out different branches |
lando set |
Copies development versions of services.yml and settings.php to sites directory to initialize db connection |
lando static |
Manually recompiles static site and assets |