Skip to content

Commit 3bfad18

Browse files
committed
Merge branch 'master' into quick-start-new
2 parents fcd0a5d + 0a5ea6f commit 3bfad18

File tree

236 files changed

+901
-425
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+901
-425
lines changed

docs/create/aws/analytics-using-aws/index-analytics-using-aws.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ slug: /create/aws/analytics-using-aws
66
authors: [ajeet]
77
---
88

9-
import Authors from '@site/src/theme/Authors';
9+
import Authors from '@theme/Authors';
1010

1111
<Authors frontMatter={frontMatter} />
1212

docs/create/aws/bidding-on-aws/index-bidding-on-aws.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ slug: /create/aws/bidding-on-aws
66
authors: [ajeet]
77
---
88

9-
import Authors from '@site/src/theme/Authors';
9+
import Authors from '@theme/Authors';
1010

1111
<Authors frontMatter={frontMatter} />
1212

docs/create/aws/chatapp/index-chatapp.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ slug: /create/aws/chatapp
66
authors: [ajeet]
77
---
88

9-
import Authors from '@site/src/theme/Authors';
9+
import Authors from '@theme/Authors';
1010

1111
<Authors frontMatter={frontMatter} />
1212

@@ -47,7 +47,7 @@ Choose AWS as the Cloud vendor while creating your new subscription. While creat
4747

4848
![image](chatapp4.png)
4949

50-
:::info TIP
50+
:::tip
5151
You don't need to create an AWS account for setting up your Redis database. Redis Enterprise Cloud on AWS is a fully managed database-as-a-service trusted by thousands of customers for high performance, infinite scalability, true high availability, and best-in-class support.
5252
:::
5353

docs/create/aws/chatapp/index-chatapp.mdx_python

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /howtos/chatapp
88
import Tabs from '@theme/Tabs';
99
import TabItem from '@theme/TabItem';
1010
import useBaseUrl from '@docusaurus/useBaseUrl';
11-
import RedisCard from '@site/src/theme/RedisCard';
11+
import RedisCard from '@theme/RedisCard';
1212

1313

1414
In this tutorial, we will see how to build a basic chat application built with Flask, Socket.IO and Redis.
@@ -28,7 +28,7 @@ In this tutorial, we will see how to build a basic chat application built with F
2828

2929
- Python 3.6+
3030

31-
### Step 2. Clone the repository
31+
### Step 2. Clone the repository
3232

3333
```
3434
git clone https://github.com/redis-developer/basic-redis-chat-app-demo-python
@@ -81,7 +81,7 @@ python3 app.py
8181
```
8282

8383
```
84-
python3 app.py
84+
python3 app.py
8585
* Restarting with stat
8686
* Debugger is active!
8787
* Debugger PIN: 220-696-610
@@ -103,30 +103,30 @@ The demo data initialization is handled in multiple steps:
103103

104104
#### Creating of demo users
105105

106-
We create a new user id: INCR total_users. Then we set a user ID lookup key by user name: e.g.
106+
We create a new user id: INCR total_users. Then we set a user ID lookup key by user name: e.g.
107107

108108
```
109109
SET username:nick user:1
110110
```
111111

112112
And finally, the rest of the data is written to the hash set: e.g. HSET user:1 username "nick" password "bcrypt_hashed_password".
113113

114-
Additionally, each user is added to the default "General" room.
115-
For handling rooms for each user, we have a set that holds the room ids. Here's an example command of how to add the room:
114+
Additionally, each user is added to the default "General" room.
115+
For handling rooms for each user, we have a set that holds the room ids. Here's an example command of how to add the room:
116116

117117
```
118118
SADD user:1:rooms "0"
119119
```
120120

121121
Populate private messages between users. At first, private rooms are created: if a private room needs to be established, for each user a room id: room:1:2 is generated, where numbers correspond to the user ids in ascending order.
122122

123-
E.g. Create a private room between 2 users:
123+
E.g. Create a private room between 2 users:
124124

125125
```
126126
SADD user:1:rooms 1:2 and SADD user:2:rooms 1:2
127127
```
128128

129-
Then we add messages to this room by writing to a sorted set:
129+
Then we add messages to this room by writing to a sorted set:
130130

131131
```
132132
ZADD room:1:2 1615480369 "{'from': 1, 'date': 1615480369, 'message': 'Hello', 'roomId': '1:2'}"
@@ -198,7 +198,7 @@ User data is stored in a hash set where each user entry contains the next values
198198

199199
### How the data is accessed:
200200

201-
Get User HGETALL user:{id}.
201+
Get User HGETALL user:{id}.
202202

203203
```
204204
HGETALL user:2
@@ -208,17 +208,17 @@ where we get data for the user with id: 2.
208208

209209
- Online users: SMEMBERS online_users. This will return ids of users which are online
210210

211-
- Get room ids of a user: SMEMBERS user:{id}:rooms.
212-
Example:
211+
- Get room ids of a user: SMEMBERS user:{id}:rooms.
212+
Example:
213213

214214
```
215215
SMEMBERS user:2:rooms
216216
```
217217

218218
This will return IDs of rooms for user with ID: 2
219219

220-
- Get list of messages ZREVRANGE room:{roomId} {offset_start} {offset_end}.
221-
Example:
220+
- Get list of messages ZREVRANGE room:{roomId} {offset_start} {offset_end}.
221+
Example:
222222

223223
```
224224
ZREVRANGE room:1:2 0 50
@@ -244,4 +244,3 @@ It will return 50 messages with 0 offsets for the private room between users wit
244244

245245
</TabItem>
246246
</Tabs>
247-

docs/create/aws/import/index-database-migration-aws-elasticache-redis-enterprise-cloud.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ slug: /create/aws/import/database-migration-aws-elasticache-redis-enterprise-clo
66
authors: [ajeet]
77
---
88

9-
import Authors from '@site/src/theme/Authors';
9+
import Authors from '@theme/Authors';
1010

1111
<Authors frontMatter={frontMatter} />
1212

docs/create/aws/index-aws.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar_label: Overview
55
slug: /create/aws
66
---
77

8-
import RedisCard from '@site/src/theme/RedisCard';
8+
import RedisCard from '@theme/RedisCard';
99

1010
The following links provide you with the available options to run apps on AWS using Redis:
1111

@@ -48,7 +48,7 @@ The following links provide you with the available options to run apps on AWS us
4848
page="/create/aws/import/database-migration-aws-elasticache-redis-enterprise-cloud"
4949
/>
5050
</div>
51-
51+
5252
<div class="col">
5353
<RedisCard
5454
title="How to Build a Real-Time Chat application on AWS using Python and Redis"

docs/create/aws/redis-on-aws/index-redis-on-aws.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ slug: /create/aws/redis-on-aws
66
authors: [ajeet]
77
---
88

9-
import Authors from '@site/src/theme/Authors';
9+
import Authors from '@theme/Authors';
1010

1111
<Authors frontMatter={frontMatter} />
1212

@@ -18,7 +18,7 @@ Follow the below steps to setup Redis Enterprise Cloud hosted over AWS Cloud:
1818

1919
Create your free <a href="https://redis.com/try-free/" target="_blank" rel="noopener">Redis Enterprise Cloud account</a>. Once you click on “Get Started”, you will receive an email with a link to activate your account and complete your signup process.
2020

21-
:::info TIP
21+
:::tip
2222
For a limited time, use **TIGER200** to get **$200** credits on Redis Enterprise Cloud and try all the advanced capabilities!
2323

2424
:tada: [Click here to sign up](https://redis.com/try-free)

docs/create/aws/slackbot/index-slackbot.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ slug: /create/aws/slackbot
66
authors: [ajeet]
77
---
88

9-
import Authors from '@site/src/theme/Authors';
9+
import Authors from '@theme/Authors';
1010

1111
<Authors frontMatter={frontMatter} />
1212

@@ -307,7 +307,11 @@ You can find the suitable release from [http://www.graphicsmagick.org/download.h
307307

308308
#### Nodejs
309309

310-
Note: Please follow all the steps in [python-backend/README.md](https://github.com/redis-developer/Reeko-Slack-Bot/blob/master/python-backend/README.md) first.
310+
:::note
311+
312+
Please follow all the steps in [python-backend/README.md](https://github.com/redis-developer/Reeko-Slack-Bot/blob/master/python-backend/README.md) first.
313+
314+
:::
311315

312316
Copy the AWS credentials from the [python-backend/.env](https://github.com/redis-developer/Reeko-Slack-Bot/blob/master/python-backend/README.md) to the [config.json](https://github.com/redis-developer/Reeko-Slack-Bot/blob/master/nodejs-backend/src/config/config.json) file.
313317

docs/create/aws/terraform/index-terraform.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ slug: /create/aws/terraform
66
authors: [ajeet, rahul]
77
---
88

9-
import Authors from '@site/src/theme/Authors';
9+
import Authors from '@theme/Authors';
1010

1111
<Authors frontMatter={frontMatter} />
1212

@@ -112,7 +112,11 @@ Within the block body (between { and }) are query constraints defined by the dat
112112

113113
In order to set up authentication with the Redis Enterprise Cloud provider, a programmatic API key must be generated for Redis Enterprise Cloud. The Redis Enterprise Cloud documentation contains the most up-to-date instructions for creating and managing your key(s) and IP access.
114114

115-
Please note that Flexible and Annual Redis Enterprise Cloud subscriptions can leverage a RESTful API that permits operations against a variety of resources, including servers, services, and related infrastructure. The REST API is not supported for Fixed or Free subscriptions.
115+
:::note
116+
117+
Flexible and Annual Redis Enterprise Cloud subscriptions can leverage a RESTful API that permits operations against a variety of resources, including servers, services, and related infrastructure. The REST API is not supported for Fixed or Free subscriptions.
118+
119+
:::
116120

117121
```
118122
provider "rediscloud" { } # Example resource configuration

docs/create/azure/index-azure.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar_label: Overview
55
slug: /create/azure
66
---
77

8-
import RedisCard from '@site/src/theme/RedisCard';
8+
import RedisCard from '@theme/RedisCard';
99

1010
The following links provides you with the available options for create instances of Azure Cache for Redis
1111

0 commit comments

Comments
 (0)