Installing Redis

You can install Redis by following the instructions on the Redis Quick Start page (https://redis.io/topics/quickstart). It is also necessary to install the Redis Python library, pip install redis, since this package is required for using Redis and Celery:

pip install celery [redis]

To install Redis for the Windows operating system, you can choose either of these sources:

If you are working in a Windows operating syatem, you can download Redis-x64-2.8.2104.zip and extract the ZIP to the prepared directory and execute the redis-server.exe file.

In the following screenshot, we can see the execution of the Redis server on port 6379:

In you are on a Unix operating system, you can start the Redis server with the following command:

$ redis-server
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset