mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
Be more helpful for how to install / start Redis
In response to [1]. [1]: https://github.com/alphagov/notifications-api/pull/3467#discussion_r815797015
This commit is contained in:
10
README.md
10
README.md
@@ -61,7 +61,15 @@ export PATH=${PATH}:/Applications/Postgres.app/Contents/Versions/11/bin/
|
||||
|
||||
### Redis
|
||||
|
||||
To switch redis on you'll need to install it locally e.g. `brew install redis`. To use redis caching you need to switch it on with an environment variable:
|
||||
To switch redis on you'll need to install it locally. On a Mac you can do:
|
||||
|
||||
```
|
||||
# assuming you use Homebrew
|
||||
brew install redis
|
||||
brew services start redis
|
||||
```
|
||||
|
||||
To use redis caching you need to switch it on with an environment variable:
|
||||
|
||||
```
|
||||
export REDIS_ENABLED=1
|
||||
|
||||
Reference in New Issue
Block a user