def init():
    ' Init the application and add routes '
    logging.basicConfig(format='%(asctime)s: [%(levelname)s]: %(message)s', level=logging.DEBUG)
    global theconfig
    theconfig = get_config()
    global rc
    rc = init_redis(theconfig)
    app = default_app()
    return app
Init the application and add routes
def init():
    '  '
    logging.basicConfig(format='%(asctime)s: [%(levelname)s]: %(message)s', level=logging.DEBUG)
    global theconfig
    theconfig = get_config()
    global rc
    rc = init_redis(theconfig)
    app = default_app()
    return app