Tag archives: angular

RSS feed of angular

Last update on .

###Install redis server

sudo apt-get install redis-server

Install tornado-redis package. Add this line to the requirements.txt file.


Run installer

pip install -r requirements.txt

Import tornadoredis and json package in the server.py script.

import tornadoredis
import json

Connect to the redis server. Define the function.

class ChatConnection(SockJSConnection):
    def ...