Commits

Erik van Zijst committed 62d5df3

Initial commit

Comments (0)

Files changed (3)

+web: python app.py
+import os
+from flask import Flask
+
+app = Flask(__name__)
+
+@app.route('/')
+def hello():
+    return 'Hello World!'
+
+if __name__ == '__main__':
+    # Bind to PORT if defined, otherwise default to 5000.
+    port = int(os.environ.get('PORT', 5000))
+    app.run(host='0.0.0.0', port=port)
+Flask==0.8
+Jinja2==2.6
+PIL==1.1.7
+Werkzeug==0.8.2
+ipython==0.11
+mercurial==2.0.2
+psycopg2==2.4.4
+virtualenv==1.6.4
+virtualenvwrapper==2.10
+wsgiref==0.1.2