Skip to content

Commit 45aaa03

Browse files
committed
Chenges
1 parent a94c817 commit 45aaa03

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,28 @@ requester.links()
350350
351351
```
352352

353+
# How do I ... Know that Redis is working?
354+
355+
Assuming that you already installed the Redis package, changed your config, restarted the server and made some requests to store the data...
356+
357+
Use Redis CLI to check it out.
358+
359+
KEYS (pattern, you can use an asterisk like I did) - lists all the stored keys
360+
361+
get (keyid) - prints stored key value (in our case HTML)
362+
363+
```
364+
365+
root@altiusday:~# redis-cli
366+
127.0.0.1:6379> KEYS *
367+
1) "www.artefaktas.eu/2021/10/pora-react-komponentu"
368+
2) "www.artefaktas.eu/"
369+
3) "www.artefaktas.eu/2021/11/flask-per-https-ubuntu-apache"
370+
4) "www.artefaktas.eu/2021/11/reikia-programinio-kodo-google"
371+
127.0.0.1:6379> get www.artefaktas.eu/2021/10/pora-react-komponentu
372+
373+
```
374+
353375
# Contacts
354376

355377
andrius@artefaktas.eu

0 commit comments

Comments
 (0)