Lando, Composer, Drush, Drupal Core Update

Just started using PlatformSh so these are just instructions for me. In case I forget how to do it.

 

1. Lando Start

2.  lando composer install
(Make sure it is there and updated)

3. lando composer update "drupal/core-*" --with-all-dependencies
(Gets the newest drupal core with composer)

4. lando drush updb -y
(Updates the database)

5. lando rebuild
(Makes it clean. :) )

 

If you run into a Composer memory allot issue, do this:

Run these commands

1. lando which composer
(Nothing exciting happens after running this)

2. lando php -d memory_limit=-1 /usr/bin/composer update

That should work to get the update rolling again