Exemplo n.º 1
0
'''
Created on May 8, 2012

@author: paul
'''
from video import app

if __name__ == '__main__':
    
    #app.debug = False
    app.run()
Exemplo n.º 2
0
from video import app
import os

if __name__ == '__main__':
    # first attempt to get the PORT environment variable, 
    # otherwise default to port 5000
    port = int(os.environ.get("PORT", 5000))
    if port == 5000:
        app.debug = True
    app.run(host='0.0.0.0', port=port)
Exemplo n.º 3
0
from video import app

if __name__ == '__main__':
    app.run(debug=True)