diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Procfile | 2 | ||||
| -rw-r--r-- | app.py | 2 | ||||
| -rw-r--r-- | requirements.txt | 1 |
4 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d20b64 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.pyc @@ -1 +1 @@ -web: python app.py +web: gunicorn app:app @@ -12,4 +12,4 @@ class HelloWorld(restful.Resource): api.add_resource(HelloWorld, '/') if __name__ == '__main__': - app.run(port=int(environ.get('PORT', 5000))) + app.run(debug=True) diff --git a/requirements.txt b/requirements.txt index 02b0915..7d944d5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,5 +3,6 @@ Flask-RESTful==0.2.5 Jinja2==2.7.1 MarkupSafe==0.18 Werkzeug==0.9.4 +gunicorn==18.0 itsdangerous==0.23 wsgiref==0.1.2 |
