Skip to content

Commit df828b8

Browse files
author
Simon Prickett
committed
Updated for Redis Stack.
1 parent 1a7f1f8 commit df828b8

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,20 @@ In order to start and run this application, you will need:
1616

1717
* Java 8 JDK or higher
1818
* [Maven](https://maven.apache.org/)
19-
* Access to a local or remote installation of [Redis](https://redis.io/download) version 5 or newer (local preferred, Docker is a good option - see instructions below)
20-
* If you want to try the RedisTimeSeries exercises, you'll need to make sure that your Redis installation also has the [RedisTimeSeries Module](https://oss.redis.com/redistimeseries/) installed (or use the provided Docker Compose file which gives you Redis with RedisTimeSeries)
19+
* Access to a local or remote installation of [Redis Stack](https://redis.io/docs/stack/get-started/install/) (local preferred, Docker is a good option - see instructions below)
2120
* Optional: [Docker](https://www.docker.com/get-started/)
2221
* Optional but recommended: [RedisInsight](https://redis.com/redis-enterprise/redis-insight/) to visualize the data in Redis. This is a graphical alternative to the `redis-cli` command
2322

24-
If you're using Windows, check out the following resources for help with running Redis:
25-
26-
* [Redis Blog - Running Redis on Windows 10](https://redis.com/blog/redis-on-windows-10/)
27-
* [Microsoft - Windows Subsystem for Linux Installation Guide for Windows 10](https://docs.microsoft.com/en-us/windows/wsl/install-win10)
28-
29-
Running Redis with Docker
23+
Running Redis Stack with Docker
3024
---
3125

32-
We've provided a Docker Compose file as part of this repo, so to start Redis with the RedisTimeSeries module installed, use the following command:
26+
We've provided a Docker Compose file as part of this repo, so to start Redis Stack, use the following command:
3327

3428
```bash
3529
docker-compose up -d
3630
```
3731

38-
This will start a Redis with RedisTimeSeries container on localhost port 6379 with no password and you should see output similar to the following:
32+
This will start a Redis Stack container with Redis exposed on localhost port 6379 with no password. You should see output similar to the following:
3933

4034
```
4135
Creating network "ru102j_default" with the default driver
@@ -113,6 +107,15 @@ To rebuild the application without running the tests:
113107
mvn package -DskipTests
114108
```
115109

110+
Optional (but Recommended): RedisInsight
111+
---
112+
113+
RedisInsight is a graphical tool for viewing data in Redis and managing Redis server instances. You don't need to install it to be successful with this course, but we recommend it as a good way of viewing data stored in Redis.
114+
115+
To use RedisInsight, you'll need to [download it](https://redis.io/docs/ui/insight/) then point it at your Redis instance.
116+
117+
If you're using the Docker Compose file provided with this course to run Redis Stack, you can optionally choose to access a web-based version of Redis Stack at `http://localhost:8001` whenever the container is running.
118+
116119
Need Help / Join our Community
117120
---
118121

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ version: "3.9"
22
services:
33
redis:
44
container_name: redis_ru102j
5-
image: "redislabs/redistimeseries"
5+
image: "redis/redis-stack:latest"
66
ports:
77
- "6379:6379"
8+
- "8001:8001"
89
volumes:
910
- ./redisdata:/data
1011
entrypoint:

0 commit comments

Comments
 (0)