Beispiel #1
0
def setup_app(command, conf, vars):
    """Place any commands to setup lr here"""
    # Don't reload the app if it was loaded under the testing environment
    if not pylons.test.pylonsapp:
        load_environment(conf.global_conf, conf.local_conf)
    monitorResourceDataChanges()
    print("got here")
    assert init_plugins() is not None, "Plugins not Loading!!!!"
Beispiel #2
0
def setup_app(command, conf, vars):
    """Place any commands to setup lr here"""
    # Don't reload the app if it was loaded under the testing environment
    if not pylons.test.pylonsapp:
        load_environment(conf.global_conf, conf.local_conf)

    assert init_plugins() is not None, "Plugins not Loading!!!!"

    # Start process that listens the resource_data  databasechange feed in order 
    # to mirror distributable/resource_data type documents, udpate views and fire
    # periodic distribution.