Updating documentation to use redis.asyncio (#447)
* removing aioredis from documentation * fix: proper python 3.11 support (#446) * fix: propper python 3.11 support * fix tox config * wider python 3.x support * Update ci.yml Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com> * Add poetry.lock to .gitignore (#457) * Add poetry.lock to .gitignore * remove poetry.lock * PR comments readme update Co-authored-by: Yaraslau Zhylko <YaraslauZhylko@gmail.com> Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
This commit is contained in:
parent
1aa619e418
commit
6955225c08
6 changed files with 22 additions and 26 deletions
|
|
@ -19,10 +19,18 @@ Python 3.7.0
|
|||
|
||||
If you don't have Python installed, you can download it from [Python.org](https://www.python.org/downloads/), use [pyenv](https://github.com/pyenv/pyenv), or install Python with your operating system's package manager.
|
||||
|
||||
This library requires [redis-py](https://pypi.org/project/redis) version 4.2.0 or higher.
|
||||
|
||||
## Redis
|
||||
|
||||
Redis OM saves data in Redis, so you will need Redis installed and running to complete this tutorial.
|
||||
|
||||
We recommend the [redis-stack](https://hub.docker.com/r/redis/redis-stack) image because it includes Redis capabilities that this library uses to provide extra features. Later sections of this guide will provide more detail about these features.
|
||||
|
||||
You can also use the official Redis Docker image, which is hosted on [Docker Hub](https://hub.docker.com/_/redis). However this does not include the Search and JSON modules required to store JSON models and use the `find` query interface.
|
||||
|
||||
**NOTE**: We'll talk about how to actually start Redis with Docker when we discuss _running_ Redis later in this guide.
|
||||
|
||||
### Downloading Redis
|
||||
|
||||
The latest version of Redis is available from [Redis.io](https://redis.io/). You can also install Redis with your operating system's package manager.
|
||||
|
|
@ -33,17 +41,7 @@ The latest version of Redis is available from [Redis.io](https://redis.io/). You
|
|||
|
||||
Redis doesn't run directly on Windows, but you can use Windows Subsystem for Linux (WSL) to run Redis. See [our video on YouTube](https://youtu.be/_nFwPTHOMIY) for a walk-through.
|
||||
|
||||
Windows users can also use Docker. See the next section on running Redis with Docker for more information.
|
||||
|
||||
### Using Redis With Docker
|
||||
|
||||
Instead of installing Redis manually or with a package manager, you can run Redis with Docker.
|
||||
|
||||
We recommend the [redis-stack](https://hub.docker.com/r/redis/redis-stack) image because it includes Redis modules that Redis OM can use to give you extra features. Later sections of this guide will provide more detail about these features.
|
||||
|
||||
You can also use the official Redis Docker image, which is hosted on [Docker Hub](https://hub.docker.com/_/redis). However this does not include the Search and JSON modules required to store JSON models and use the `find` query interface.
|
||||
|
||||
**NOTE**: We'll talk about how to actually start Redis with Docker when we discuss _running_ Redis later in this guide.
|
||||
Windows users can also use the Docker image mentioned previously.
|
||||
|
||||
## Recommended: RediSearch and RedisJSON
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue