예제 #1
0
def runserver():
    api.app = app
    app.run()
예제 #2
0
파일: main.py 프로젝트: GoogleJump/ninja
from proj import app

# start a sever if the program is being run on its own (not being imported from another module)
# set debug mode to true so that the server reloads itself on code changes
# make the server publicly available to users on the network

if __name__ == '__main__':
  app.debug = True
  app.run(host='localhost', port=4567)
예제 #3
0
from proj import app

if __name__ == "__main__":
    app.run(debug=True)
예제 #4
0
from proj import app
if __name__ == '__main__':
    #app.run(debug=True)
    app.run()
예제 #5
0
"""
Run Flask's bundled web server

"""
from proj import app
import config

if __name__ == '__main__':
    app.run(debug=True, host='0.0.0.0', port=config.PORT)
예제 #6
0
파일: run.py 프로젝트: joelha/FlaskProj
from proj import app
app.run(debug=True)
예제 #7
0
from proj import app

if __name__ == "__main__":
    # app.run(host='0.0.0.0', port=int('5000'))
    app.run(port=int('5000'))
예제 #8
0
파일: main.py 프로젝트: GoogleJump/ninja
from proj import app

# start a sever if the program is being run on its own (not being imported from another module)
# set debug mode to true so that the server reloads itself on code changes
# make the server publicly available to users on the network

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