-
Notifications
You must be signed in to change notification settings - Fork 0
Using the environment (Personal)
This project is just Lando with some additional helpers. All normal Lando commands can be run, however, do not start Lando until you have run:
./robo.sh lando:init
once.
That command steps you through some different personal functionality that you can set up. If you'd like to run any of them again, you can use:
./robo.sh | grep ' 'lando:
The most interesting command is ./robo.sh lando:set-personal-services
. This will let you turn on things like a mail capture and database admin.
Also of note is ./robo.sh lando:duplicate-project
. This will let you create another separate environment for the same project. In this way, you can work on features or pull requests concurrently without breaking your current environment.
There are two new tooling commands that are available.
-
lando si
: Installs Drupal a fresh Drupal site. It will install from configuration if you already have config. Handy to get a fresh start. -
lando su
: If Drupal is installed, it will just run DB updates and import config. If Drupal is not installed, it will run similar tolando si
. Quicker, but it will not install any new default content.
And the normal lando db-import
is available if your workflow requires it.
-
./composer.sh
a wrapper script forlando composer
that writes tocomposer.log
commands that change composer.lock are run. Use it instead oflando composer
. -
./drush.sh
a wrapper aroundlando drush
, can be used interchangeably. -
./robo.sh
lets you work with extra commands for working with the environment.