Skip to content

Latest commit

 

History

History
50 lines (49 loc) · 3 KB

README.md

File metadata and controls

50 lines (49 loc) · 3 KB

redisearchPythonsMusings

The product category part of this has been superseded by a new combined JSON and search version redis JSON and Search

helpful links

Initial project setup

Get this github code

get clone https://github.com/jphaugla/redisearchPythonsMusings.git

This github is setup to run with docker-compose using a jupyter and redis container edit the docker compose to change environment entries. If you are providing your own redis server can set the environment in docker compose or just set the appropriate environment variables and the python examples will pick up the environment.

  • REDIS_HOST
  • REDIS_PORT
  • REDIS_PASSWORD

docker compose startup

docker-compose up -d 

There is a separate readme for each example under the samples directory-check it out! NOTE: can run these queries using the redis-cli in the docker container or with a locally installed redis-cli since the docker redis container is running on port 6379, no paramters are needed on the redis-cli command

redis-cli set hello world
redis-cli get hello
docker exec -it redis redis-cli set hello world
docker exec -it redis redis-cli get hello

Samples