RedisGraph/demo at master · twicoder/RedisGraph · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

Demos

  1. Set the following environment variables:
  • REDIS_MODULE_PATH - Relative path to compiled redisgraph.so

    export REDIS_MODULE_PATH=<ABSOLUTE_PATH_TO_MODULE.SO>
  • REDIS_PATH - Absolute path to redis-server

    export REDIS_PATH=<ABSOLUTE_PATH_TO_REDIS-SERVER>
  1. Install requirements:

From either <REDISGRAPH_ROOT>/demo/imdb or <REDISGRAPH_ROOT>/demo/social, Run:

pip install -r requirements.txt
  1. Run demo:
python imdb_demo.py

or

python social_demo.py