From: Karim Hamidou Date: Sun, 10 Dec 2017 01:21:27 +0000 (-0800) Subject: Add basic app skeleton X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=6f1f0e711248a475271fabaa81d90a280c62cc09;p=minival.git Add basic app skeleton --- diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..a95b2de --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: gunicorn web.py --log-file - diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..484d3c5 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +flask==0.12.2 diff --git a/web.py b/web.py new file mode 100644 index 0000000..107f67b --- /dev/null +++ b/web.py @@ -0,0 +1,9 @@ +from flask import Flask +app = Flask(__name__) + +@app.route("/") +def hello(): + return "Hello World!" + +if __name__ == "__main__": + app.run()