Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (10 sloc) 0.29 kb
import os
from flask import Flask
app = Flask(__name__)
def hello():
return 'Powered by OpDemand'
if __name__ == '__main__':
# Bind to PORT if defined, otherwise default to 5000.
port = int(os.environ.get('PORT', 5000))'', port=port)
Jump to Line
Something went wrong with that request. Please try again.