Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lando instructions. #177

Open
wants to merge 1 commit into
base: 8.x-1.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions docs/configuring_localhost.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).

Expand All @@ -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`
Expand Down