from app import webapp

# run flask app at localhost:5000
webapp.run(debug=False)
from app import webapp

webapp.run()
#webapp.run('0.0.0.0',5001,debug=True)
Beispiel #3
0
#!venv/bin/python
from app import webapp
webapp.run(host='0.0.0.0', debug=True)
#webapp.run(host='0.0.0.0')
Beispiel #4
0
Datei: run.py Projekt: ECE1779/A1
#!venv/bin/python
from app import webapp
#webapp.run(host='0.0.0.0',debug=True)
webapp.run(host='0.0.0.0', threaded=True)
Beispiel #5
0
from app import webapp

if __name__ == "__main__":
    webapp.run(port=8001)
from app import webapp
if __name__ == "__main__":
    webapp.run(debug=True, host='0.0.0.0', port=5000)
Beispiel #7
0
from app import webapp

# webapp.run(host='0.0.0.0',debug=True)
webapp.run(host='0.0.0.0')
Beispiel #8
0
from app import webapp
from config import *

if __name__ == "__main__":
    webapp.run(host="0.0.0.0", port=web_port)
from app import webapp

webapp.run("0.0.0.0", 5000)
#!venv/bin/python
from app import webapp
webapp.run(host='localhost', port=5001, debug=True)
Beispiel #11
0
from app import webapp

webapp.run(host='127.0.0.1')
Beispiel #12
0
from app import webapp

# webapp.run('0.0.0.0',5001,debug=True)

webapp.run('0.0.0.0', port=80)
Beispiel #13
0
from app import webapp

webapp.run(port=5000, debug=True)
Beispiel #14
0
#!venv/bin/python
from app import webapp
webapp.run(host='0.0.0.0', port=4567, debug=True)
#webapp.run(host='0.0.0.0')
Beispiel #15
0
from app import webapp

webapp.run(host='0.0.0.0', port=80, debug=False)
Beispiel #16
0
import os

from app import webapp
from orm import DB, Session
import models

webapp.config.update({
    'SQLALCHEMY_DATABASE_URI': os.environ['UQFINAL_DB_URI'],
    'SQLALCHEMY_TRACK_MODIFICATIONS': False,
    'SQLALCHEMY_POOL_SIZE': 0,
    'SQLALCHEMY_POOL_RECYCLE': 500,
})
DB.init_app(webapp)


if __name__ == "__main__":
    import sys
    args = sys.argv
    if len(args) > 1 and args[1] == "generatedb":
        with webapp.app_context():
            s = Session()
            models.ORMBase.metadata.create_all(s.connection())
            s.commit()
    else:
        webapp.run(port=8080)
from app import webapp

webapp.run(host='127.0.0.1', port=5001)
Beispiel #18
0
#!venv/bin/python

from app import webapp

webapp.run(host='0.0.0.0', port='5001', debug=False, use_reloader=False)
#webapp.run(host='0.0.0.0')
Beispiel #19
0
Datei: run.py Projekt: hfzhfz/tmp
#!./flask/bin/python
from app import webapp
webapp.run(host='0.0.0.0', debug=True, threaded=True)
#webapp.run(host='0.0.0.0')
Beispiel #20
0
#!venv/bin/python
from app import webapp
webapp.run(host='0.0.0.0',port=5001, debug=True)
#webapp.run(host='0.0.0.0')
Beispiel #21
0
from app import webapp

# webapp.run('0.0.0.0',5001,debug=True)

webapp.run('0.0.0.0', 5000)
Beispiel #22
0
#!venv/bin/python
from app import webapp
webapp.run(host='127.0.0.1', debug=True)
Beispiel #23
0
#!venv/bin/python
from app import webapp, db

# This creates all the tables described in the models.py, the db itself must exist already
# # It still works fine if the tables already exist unless their structure has been changed
#db.auto_scale.__table__.drop()

db.create_all()
webapp.run(host='0.0.0.0', debug=False)
#!venv/bin/python
from app import webapp
webapp.run(host='127.0.0.1', debug=False)
#webapp.run(host='0.0.0.0')
Beispiel #25
0
#!venv/bin/python
from app import webapp
# run local ONLY to avoid potential incoming traffic on my own machine
webapp.run(host='0.0.0.0',port=80, debug=True)
#webapp.run(host='0.0.0.0')
__author__ = 'zexxonn'

from app import webapp
from setupTools import setupDatabase

setupDatabase()
webapp.run(debug=True)
#!venv/bin/python
from app import webapp

#webapp.run('0.0.0.0',5001,debug=True)
#webapp.run('0.0.0.0',5001)

webapp.run('0.0.0.0', 5000, debug=True)
Beispiel #28
0
#!../venv/bin/python
from app import webapp
webapp.run('0.0.0.0',5000,debug=False)

#webapp.run('0.0.0.0',5000)

Beispiel #29
0
def run():

    webapp.logger.info('flask-eikon is started.')
    webapp.run(host=webapp.config['IP'], port=webapp.config['PORT'])
    webapp.logger.info('flask-eikon is terminated.')
    return 0
Beispiel #30
0
from app import webapp

if __name__ == '__main__':
    webapp.run(host='0.0.0.0', port='5000', debug=True)