You need to have this installed to configure this project locally:
After install Lando follow these steps:
- Build and start containers in your local environment.
> lando start
- Access your local Drupal and follow the installation process http://local.drupal-bootcamp.com/
If your browser can't open this address, you can try to add this to your hosts, using this command:
sudo bash -c 'echo "127.0.0.1 local.drupal-bootcamp.com" >> /etc/hosts'
Information you will need to use with your first Drupal setup for database
database: drupal9
username: drupal9
password: drupal9
host: database (don't use localhost)
You have at your disposal drush to run some commands for Drupal. To run any drush command with this setup you need to:
> lando drush <command>
If you need to access the admin area of Drupal, but doesn't remember your password, you can generate a unique login link using drush:
> lando drush uli
Start Lando
> lando start
Stop Lando
> lando stop
Restart Lando:
> lando restart
Rebuild Lando (refresh some lando configs, if needed):
> lando rebuild
Destroy Lando (use carefully, because you will loose your database information):
> lando destroy