def run(config):
    logger.info('Configuring system.')
    app = application(config)
    logger.info('Running server.')
    bottle.run(app=app, host=config['server']['host'], port=config['server']['port'], server='cherrypy')
def run(config):
    logger.info('Configuring system.')
    app = application(config)
    logger.info('Running server.')
    bottle.run(app=app, host=config['server']['host'], port=config['server']['port'], server='cherrypy')