# coding: utf-8

import os
import redis

from flask import Flask


# Init App
NAMESPACE = 'app'
app = Flask(NAMESPACE)

# Configure the application
app.config.from_object('app.config')

# Building a cache instance
cache = redis.from_url(app.config.get('REDIS_URL'))

# Set a custom secret key
app.secret_key = 'chronos'

from app import views

@@ -207,16 +207,88 @@
 nstance%0A
+if not app.config.get('REDIS_URL'):%0A    cache = redis.Redis()%0Aelse:%0A    
 cache = 
@@ -332,16 +332,17 @@
 URL'))%0A%0A
+%0A
 # Set a 

add Redis for development