From 8bed482f93def70d6d816a647b7a753b2f868ca7 Mon Sep 17 00:00:00 2001 From: Grant Timmerman Date: Tue, 11 Jun 2019 14:47:59 -0700 Subject: [PATCH] Update Redis README (#1357) * Update Redis README Related to #1032 * docs: Fix typo --- memorystore/redis/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/memorystore/redis/README.md b/memorystore/redis/README.md index 1bf67442da..03029bc29a 100644 --- a/memorystore/redis/README.md +++ b/memorystore/redis/README.md @@ -13,3 +13,21 @@ Follow the instructions in [this guide](https://cloud.google.com/memorystore/doc ## Running on Google App Engine Flex Follow the instructions in [this guide](https://cloud.google.com/memorystore/docs/redis/connect-redis-instance-flex) to deploy the sample application on GAE Flex. + +## Running Locally + +To run this sample locally, follow these instructions: + +In one terminal, [run Redis](https://redis.io/topics/quickstart): + +```sh +redis-server +``` + +In another terminal, run the Node application: + +```sh +node server.js +``` + +Visit the following `localhost` URL to test your server that connects to Redis and observe a persistant "Visitor number".