Giter Site home page Giter Site logo

redisearchpythonsmusings's Introduction

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

redisearchpythonsmusings's People

Contributors

jphaugla avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

redislabs-demos

redisearchpythonsmusings's Issues

failed on Mac with ' docker-compose up -d --build '

0830d2124abd: Pull complete
9179294f2ae5: Pull complete
Digest: sha256:cc7adcd6180024fc3ebb99b50efa2e0fd90d0d9e51d676f1ed5a2233fa8d8966
Status: Downloaded newer image for redislabs/redisinsight:latest
Creating redis ...
Creating redis ... error

ERROR: for redis Cannot start service redis: driver failed programming external connectivity on endpoint redis (c00d81a541511325195f35ce74248f197c8f3374b1e2c740eb6ff59c674e8ff3): Bind for 0.0.0.0:6379 failed: port is already allocated

ERROR: for redis Cannot start service redis: driver failed programming external connectivity on endpoint redis (c00d81a541511325195f35ce74248f197c8f3374b1e2c740eb6ff59c674e8ff3): Bind for 0.0.0.0:6379 failed: port is already allocated
ERROR: Encountered errors while bringing up the project.
-ghSrc/redisearchPythonProductCatalog %
-ghSrc/redisearchPythonProductCatalog %

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.