FastAPI: add redis integration

This includes the addition of the python-fakeredis package,
used for stubbing python-redis when a user does not have a
configured cache.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-06-28 08:49:02 -07:00
parent 96d1af9363
commit 91e769f603
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
7 changed files with 123 additions and 3 deletions

View file

@ -57,7 +57,7 @@ read the instructions below.
(FastAPI-Specific)
# pacman -S redis python-redis
# pacman -S redis python-redis python-fakeredis
# systemctl enable --now redis
5) Create a new MySQL database and a user and import the aurweb SQL schema: