Skip to content

Tango with Redis

daviddob edited this page Jun 15, 2017 · 1 revision

Quick Overview

To be able to use Redis with Tango, there are few installation and configurations you need to make. Here is a step-by-step list:

  1. Install Redis following the guide.

  2. Start Redis:

    $ redis-server
    
  3. Edit Tango config file, Tango/config.py, to have USE_REDIS = True and fill the REDIS_HOSTNAME and REDIS_PORT variables. By default, it should look like this:

     ######
     # Part 4: Settings for shared memory
     #
     USE_REDIS = False
     REDIS_HOSTNAME = "127.0.0.1"
     REDIS_PORT = 6379
    
  4. Start running tango server.

    python restful-tango/server.py
    
  5. Start running the manager.

    python jobManager.py
    
Clone this wiki locally