0

I'm using django-redis for caching. Everything works fine on local, but I got an error on production development (using cPanel).

Does anyone know how to use django-redis on the production server?

penk
  • 197
  • 1
  • 3
  • 14
  • Well, is it running? Sometimes you have to manually click the redis-server executable. – nigel239 Aug 21 '22 at 15:27
  • Yeah, I've run the redis-server in local and it works fine on local. But how to run the redis server on production (cPanel)? @nigel239 – penk Aug 21 '22 at 15:40
  • Find the executable, and run it. You did install redis, right? Like the actual backend? Instead of the pip module? – nigel239 Aug 21 '22 at 15:43
  • Yes, but I installed it on my local computer. I think we have to install it also on the production right (cPanel in this case)? Because it doesn't make sense if we have to run the redis server all the time on the local computer. @nigel239 – penk Aug 21 '22 at 15:46
  • You have to install redis on your production server, yes. https://redis.io/download/ – nigel239 Aug 21 '22 at 15:47
  • I don't know how to install Redis on the production server. Can you give me a detailed step-by-step guide or maybe provide some resources that explain that? Because I can't find any guide about how to do that @nigel239 – penk Aug 21 '22 at 15:53

0 Answers0