- Linux or Mac machine
- Docker installed & running
- Terminal Application
- Or simply use the Google Cloud Shell (free!)
git clone https://github.com/u1i/redis-getting-started
cd redis-getting-started
./run-redis.sh
set student kelly
OK
get student
"kelly"
lpush message_queue hello
lpush message_queue "hello again"
rpop message_queue
"hello"
Now when we do that again....
rpop message_queue
"hello again"
And one more time:
rpop message_queue
(nil)
incr queue_number
(integer) 1
incr queue_number
(integer) 2