From d289b0d4240837d1f7785a905b446e4ce101e446 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 24 Oct 2024 21:00:52 +1300 Subject: [PATCH] docs: update `ddev get` to `ddev add-on get` in readme --- README.md | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 49f738d..f1a2d9c 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,27 @@ ## What is this? -This repository allows you to quickly install Redis into a [DDEV](https://ddev.readthedocs.io) project using just `ddev get ddev/ddev-redis`. +This repository allows you to quickly install Redis into a [DDEV](https://ddev.readthedocs.io) project using the instructions below. ## Installation -1. `ddev get ddev/ddev-redis` -2. `ddev restart` +For DDEV v1.23.5 or above run + +```sh +ddev add-on get ddev/ddev-redis +``` + +For earlier versions of DDEV run + +```sh +ddev get ddev/ddev-redis +``` + +Then restart your project + +```sh +ddev restart +``` With DDEV v1.23.5+ you can choose a different Redis tag, the command below creates a `.ddev/.env.redis` file that you can commit: