diff --git a/Procfile b/Procfile index e9aece8..e69de29 100644 --- a/Procfile +++ b/Procfile @@ -1 +0,0 @@ -web: gunicorn -b :$PORT app:app \ No newline at end of file diff --git a/app.py b/app.py index 1d6a9d3..b811521 100644 --- a/app.py +++ b/app.py @@ -2,10 +2,12 @@ import os from flask import Flask app = Flask(__name__) + @app.route('/') def hello_world(): # put application's code here return 'Hello World!' + if __name__ == '__main__': port = int(os.environ.get('PORT', 33507)) app.run(host='0.0.0.0', port=port, debug=True)