diff --git a/flaskrest/heroku/exampleapp/Procfile b/flaskrest/heroku/exampleapp/Procfile new file mode 100644 index 00000000..ca6e941c --- /dev/null +++ b/flaskrest/heroku/exampleapp/Procfile @@ -0,0 +1 @@ +web: gunicorn app:app diff --git a/flaskrest/heroku/exampleapp/main.py b/flaskrest/heroku/exampleapp/main.py new file mode 100644 index 00000000..2553a1d6 --- /dev/null +++ b/flaskrest/heroku/exampleapp/main.py @@ -0,0 +1,7 @@ +from flask import Flask + +app = Flask(__name__) + +@app.route("/") +def index(): + return "Hello World!" \ No newline at end of file diff --git a/flaskrest/heroku/exampleapp/requirements.txt b/flaskrest/heroku/exampleapp/requirements.txt new file mode 100644 index 00000000..e4c5de6b --- /dev/null +++ b/flaskrest/heroku/exampleapp/requirements.txt @@ -0,0 +1,6 @@ +click==7.1.2 +Flask==1.1.2 +itsdangerous==1.1.0 +Jinja2==2.11.3 +MarkupSafe==1.1.1 +Werkzeug==1.0.1