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)
예제 #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')
예제 #4
0
파일: run.py 프로젝트: 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)
예제 #5
0
from app import webapp

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

# webapp.run(host='0.0.0.0',debug=True)
webapp.run(host='0.0.0.0')
예제 #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)
예제 #10
0
#!venv/bin/python
from app import webapp
webapp.run(host='localhost', port=5001, debug=True)
예제 #11
0
파일: run.py 프로젝트: f-tang/ECE1779
from app import webapp

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

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

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

webapp.run(port=5000, debug=True)
예제 #14
0
파일: run.py 프로젝트: callenfu/ECE1779
#!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')
예제 #15
0
from app import webapp

webapp.run(host='0.0.0.0', port=80, debug=False)
예제 #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)
예제 #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')
예제 #19
0
파일: run.py 프로젝트: 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')
예제 #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')
예제 #21
0
파일: run.py 프로젝트: shengdade/ECE1779
from app import webapp

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

webapp.run('0.0.0.0', 5000)
예제 #22
0
#!venv/bin/python
from app import webapp
webapp.run(host='127.0.0.1', debug=True)
예제 #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')
예제 #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')
예제 #26
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)
예제 #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)

예제 #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
예제 #30
0
from app import webapp

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