def setup(test=False, plugins=None, curConfig=None):
    root, appconf = configureServer(test, plugins, curConfig)

    application = cherrypy.tree.mount(root, '/', appconf)

    if test:
        application.merge({'server': {'mode': 'testing'}})

    return application
Write the content in ``lines`` to disk at ``filename``, line by line. Files
dataset/ETHPy150Open girder/girder/girder/utility/server.py/setup--crossover with--dataset/ETHPy150Open chartbeat-labs/textacy/textacy/fileio/write.py/write_file_lines