diff --git a/docs/configuring_localhost.md b/docs/configuring_localhost.md index 9a11b7e..be206a0 100644 --- a/docs/configuring_localhost.md +++ b/docs/configuring_localhost.md @@ -2,17 +2,17 @@ ## Step 1: Install Composer -[Install composer globally.](https://getcomposer.org/doc/00-intro.md) +[Install composer globally.](https://getcomposer.org/doc/00-intro.md) ## Step 2: Fire Up Local Dev Stack -Install and enable [Docksal](https://docksal.io) (recommended), [MAMP](https://www.mamp.info/), [WAMP](http://www.wampserver.com/), [LAMP](https://en.wikipedia.org/wiki/LAMP_(software_bundle)), or whatever you local development environment of choice and make sure the [Web Server System Requirements](https://www.drupal.org/docs/8/system-requirements/web-server) for Drupal 8 are being met. +Install and enable [Docksal](https://docksal.io) (recommended), [Lando](https://docs.devwithlando.io) (best for Pantheon users), [MAMP](https://www.mamp.info/), [WAMP](http://www.wampserver.com/), [LAMP](https://en.wikipedia.org/wiki/LAMP_(software_bundle)), or whatever you local development environment of choice and make sure the [Web Server System Requirements](https://www.drupal.org/docs/8/system-requirements/web-server) for Drupal 8 are being met. ## Step 3: Get Distro Template The [SiteFarm Distro Template](https://github.com/ucdavis/sitefarm-distro-template) repo is just meant as a starting point. Use this as a template to build your own distribution. -Next you will want to "Clone or Download" the [SiteFarm Distro Template](https://github.com/ucdavis/sitefarm-distro-template) into your local servers public directory. If you clone, the root directory will be `sitefarm-distro-template`, which is what will be referenced in the rest of this document. +Next you will want to "Clone or Download" the [SiteFarm Distro Template](https://github.com/ucdavis/sitefarm-distro-template) into your local servers public directory. If you clone, the root directory will be `sitefarm-distro-template`, which is what will be referenced in the rest of this document. If cloning you will need to configure an [SSH Key with GitHub](https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/). @@ -28,6 +28,16 @@ The script will prompt you for your sudo password, and then at the end provide y You're done! You can skip the rest of the steps. +### Lando + +Open your CLI of choice and navigate to the SiteFarm Distro Template directory (`sitefarm-distro-template`). + +Run, `lando start`. + +Lando will give you several URLs to access the site and run the Drupal installer. + +You're done! You can skip the rest of the steps. + ### Other Local Dev Stack You will want to set up a local host on your local PHP/MySQL tool of choice. Give it a name like `sitefarm-distro.local` and set the document root to `sitefarm-distro-template/web`