This Drupal 8 site run on pantheon, has tools scripted in node, and local dev in Lando. Make sure you install all prerequisites.
- lando: Virtualized local server manager - Lets us our own local version of Pantheon hosting as close as possible to their config
- Login to your Pantheon dashboard and create a new machine token named "Lando Development"
- Click "Generate Token", and save the token string in a text file somewhere safe. This will allow Lando to operate on your behalf across all sites you have access to on Pantheon. You should only have to do this once.
- Run:
composer install
- to install dependencies. - Run:
lando start
- to start local machine. - Run:
lando terminus auth:login --machine-token=[MACHINETOKEN]
- To authorize before getting assets. - Run:
lando pull --code=none --database=dev --files=dev
- Get the latest assets. Its suggested you pull from 'dev'. - Run:
lando drush cr
- Clear cache. - Login:
lando drush uli
View site: https://4kvisreg.lndo.site/