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

docs: update ddev get to ddev add-on get in readme #3

Open
wants to merge 1 commit into
base: main
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
22 changes: 18 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,25 @@ Lighthouse analyzes performance, accessibility, best practices, and more of your

## Getting Started

Install this addon by running the following command:
Install this addon:

`ddev get Metadrop/ddev-lighthouse`
For DDEV v1.23.5 or above run

```sh
ddev add-on get Metadrop/ddev-lighthouse
```

For earlier versions of DDEV run

```sh
ddev get Metadrop/ddev-lighthouse
```

Once installed, make sure to restart your ddev project:

`ddev restart`
```sh
ddev restart
```

### Configuration

Expand All @@ -33,7 +45,9 @@ This addon uses the `tests/functional/lighthouserc.js` configuration file to cus

To execute Lighthouse tests, simply access your ddev environment and run the following command:

`ddev lighthouse`
```sh
ddev lighthouse
```

Lighthouse will generate detailed reports and save them in the `reports/lighthouse` folder of your project.

Expand Down