''' Created on May 8, 2012 @author: paul ''' from video import app if __name__ == '__main__': #app.debug = False app.run()
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)
from video import app if __name__ == '__main__': app.run(debug=True)