예제 #1
0
파일: app.py 프로젝트: DanielJMaher/ooi-ui
def science(args):
    from ooiui.core.app import app

    import ooiui.core.routes.common
    import ooiui.core.routes.science

    app.run(host='localhost', debug=True)
예제 #2
0
파일: app.py 프로젝트: oceanzus/ooi-ui
def science(args):
    from ooiui.core.app import app

    import ooiui.core.routes.common
    import ooiui.core.routes.science

    app.run(host='localhost', debug=True)
예제 #3
0
파일: app.py 프로젝트: RyanMaciel/ooi-ui
def science(args):

    import ooiui.core.routes.common
    import ooiui.core.routes.science
    import ooiui.core.routes.c2
    import ooiui.core.routes.aa
    import ooiui.core.routes.m2m

    if app.config['DEBUG'] == True:
        app.add_url_rule('/site-map', 'site_map', site_map)
    app.run(host='localhost', debug=True)
예제 #4
0
파일: app.py 프로젝트: RyanMaciel/ooi-ui
def science(args):

    import ooiui.core.routes.common
    import ooiui.core.routes.science
    import ooiui.core.routes.c2
    import ooiui.core.routes.aa
    import ooiui.core.routes.m2m

    if app.config['DEBUG'] == True:
        app.add_url_rule('/site-map', 'site_map', site_map)
    app.run(host='localhost', debug=True)
예제 #5
0
def science(args):

    import ooiui.core.routes.common
    import ooiui.core.routes.science
    import ooiui.core.routes.c2
    import ooiui.core.routes.aa
    import ooiui.core.routes.m2m

    if app.config['DEBUG'] == True:
        app.add_url_rule('/site-map', 'site_map', site_map)
    app.run(host=app.config['UI_APP_IP'], port=app.config['UI_APP_PORT'], debug=app.config['DEBUG'])
예제 #6
0
파일: app.py 프로젝트: rjelkins/ooi-ui
def science(args):

    import ooiui.core.routes.common
    import ooiui.core.routes.science
    import ooiui.core.routes.c2
    import ooiui.core.routes.aa
    import ooiui.core.routes.m2m

    if app.config['DEBUG'] == True:
        app.add_url_rule('/site-map', 'site_map', site_map)
    app.run(host=app.config['UI_APP_IP'],
            port=app.config['UI_APP_PORT'],
            debug=app.config['DEBUG'])
예제 #7
0
파일: WSGI.py 프로젝트: petercable/ooi-ui
#!/usr/bin/env python
'''
WSGI.py
'''
import argparse
from flask import jsonify, url_for
from ooiui.core.app import app
import ooiui.core.routes.common
import ooiui.core.routes.science
import ooiui.core.routes.c2
import ooiui.core.routes.aa

if __name__ == '__main__':
    app.run(host='localhost:5000', debug=True)