I just install django-redit
using pip
in my python virtualenv,but when I enter command redis-cli
, it shows me redis-cli command not found
.
I'm pretty much sure redis-cli has been installed sucessfully. need your help thx in advance
I just install django-redit
using pip
in my python virtualenv,but when I enter command redis-cli
, it shows me redis-cli command not found
.
I'm pretty much sure redis-cli has been installed sucessfully. need your help thx in advance
You need to install the Redis client/server (https://redis.io/). Depending on you OS you maybe can install this directly by OS repository.
Follow this commands:
virtualenv env
source env/bin/activate
pip3 install django
pip install redis
brew install redis
brew list
if you want run redis when you start project: shell ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
start redis with brew : brew services start redis
start redis with config : redis-server /usr/local/etc/redis.conf
brew services stop redis
redis config location : /usr/local/etc/redis.conf
redis detail : brew info redis
redis test : redis-cli ping
pipenv install django-redis-cache
brew uninstall redis