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
Init the application and add routes
dataset/ETHPy150Open ikreymer/browsertrix/web/app.py/init