def run(conf, build_app=True):
    """Run server based on this configuration.

    If build_app is True, simpl will use your config to build
    and configure your wsgi application. If you have built and
    configured your application (conf.app) already, set build_app
    to false.

    Expects configuration options defined in server.OPTIONS
    """
    if build_app:
        # The following sets conf.app
        build_application(conf)
    # waiting for https://github.com/bottlepy/bottle/pull/783
    if conf.app and (os.getcwd() not in sys.path):
        sys.path.append(os.getcwd())
    return bottle.run(
        app=conf.app,
        server=conf.server,
        host=conf.host,
        port=conf.port,
        interval=conf.interval,
        reloader=conf.reloader,
        quiet=conf.quiet,
        debug=conf.debug,
        **conf.adapter_options
    )