krypton201
Issue with Flask Deployment
I have another question. I am trying to use the RediSearch module (https://redis.io/docs/stack/search/) to perform a query against the redis storage. However, when I run my code, I get this error:
in the railway api console which seems to occur when the redisearch library is not properly installed. I have RediSearch in my requirements.txt file, so any help would be appreciated.
39 replies
Issue with Flask Deployment
Thanks that fixed it. Last question: is there anyway to change the value of REDIS_PASSWORD? I hard coded the value in my main.py file instead of using .env variables and accidently pushed to github (its in a private repo so its fine for now).
39 replies
Issue with Flask Deployment
So there's no way to run redis as a subprocess under the main flask process on a separate port?
I have a function that starts the redis server:
and I call that function in ` but it doesn't seem to be even running anything in if name = main.
When I deploy to railway, I get this error:
39 replies