Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit fd32176

Browse files
author
Mark Pundsack
committed
Match Dev Center instructions
1 parent 45796e2 commit fd32176

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
env
1+
venv
22
*.pyc

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: gunicorn app:app -b "0.0.0.0:$PORT" -w 3
1+
web: python app.py

app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import os
2-
32
from flask import Flask
3+
44
app = Flask(__name__)
55

66
@app.route('/')
@@ -10,4 +10,4 @@ def hello():
1010
if __name__ == '__main__':
1111
# Bind to PORT if defined, otherwise default to 5000.
1212
port = int(os.environ.get('PORT', 5000))
13-
app.run(host='0.0.0.0', port=port)
13+
app.run(host='0.0.0.0', port=port)

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ Flask==0.9
22
Jinja2==2.6
33
Werkzeug==0.8.3
44
distribute==0.6.27
5-
gunicorn==0.14.6
65
wsgiref==0.1.2

0 commit comments

Comments
 (0)