django redis install
django - redis install on windows for ASGI application
----------------------------------
1. https://github.com/microsoftarchive/redis/releases
2. start the server
redis-server #click
3. check the server
redis-cli #click
>ping #type
4. at the bottom of setting.py in django project... copy and paste below code
ASGI_APPLICATION = "core.routing.application"
CHANNEL_LAYERS = {
'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': {
"hosts": [('127.0.0.1', 6379)],# or "redis://'127.0.0.1:6379",
},
},
}