Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Redis README #1357

Merged
merged 2 commits into from
Jun 11, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions memorystore/redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it better to refer to Redis Labs' hosted redis solution here? (Maybe a question for the relevant PM.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the official Redis quickstart is better than that site for learning about what Redis is.


```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 "Vistor number".
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: vistor -> visitor (add i)