From f92399ed585cf88ee29fa6ebb9ef8b7de568d2df Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Fri, 25 Oct 2024 01:22:30 +1300 Subject: [PATCH] docs: update `ddev get` to `ddev add-on get` in readme (#51) * docs: update `ddev get` to `ddev add-on get` in readme * Update README.md --------- Co-authored-by: Moshe Weitzman --- README.md | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1d4fbb3..20bee40 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,29 @@ This service can be used with any project type. The examples below are Drupal-sp ## Install/Update -1. `ddev get ddev/ddev-selenium-standalone-chrome` -2. `ddev restart` -3. Optional. Update the provided .ddev/config.selenium-standalone-chrome.yaml as you see fit(and remove the #ddev-generated line). You can also just override lines in your .ddev/config.yaml -4. Optional. Check config.selenium-standalone-chrome.yaml and docker-compose.selenium-chrome.yaml into your source control. -5. Update by re-running `ddev get ddev/ddev-selenium-standalone-chrome`. +For DDEV v1.23.5 or above run + +```sh +ddev add-on get ddev/ddev-selenium-standalone-chrome +``` + +For earlier versions of DDEV run + +```sh +ddev get ddev/ddev-selenium-standalone-chrome +``` + +Then restart your project + +```sh +ddev restart +``` + +### Optional steps + +1. Update the provided `.ddev/config.selenium-standalone-chrome.yaml` as you see fit (and remove the #ddev-generated line). You can also just override lines in your `.ddev/config.yaml` +1. Check `config.selenium-standalone-chrome.yaml` and `docker-compose.selenium-chrome.yaml` into your source control. +1. Update by re-running `ddev add-on get ddev/ddev-selenium-standalone-chrome`. ## Use