From 4f95b442056be91553896879ec46d9c3be5245cc Mon Sep 17 00:00:00 2001 From: esensar Date: Sat, 14 Apr 2018 13:44:47 +0200 Subject: [PATCH] Initialize flask project --- .gitignore | 30 ++++++++++++++++++++++++++++++ hello.py | 6 ++++++ 2 files changed, 36 insertions(+) create mode 100644 .gitignore create mode 100644 hello.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..af32b5d --- /dev/null +++ b/.gitignore @@ -0,0 +1,30 @@ + +*.py[co] +*.DS_* +# Packages +*.egg +*.egg-info +dist +build +eggs +parts +bin +var +sdist +develop-eggs +.installed.cfg + +# Installer logs +pip-log.txt + +# Unit test / coverage reports +.coverage +.tox + +#Translations +*.mo + +#Mr Developer +venv +*.pyc +build diff --git a/hello.py b/hello.py new file mode 100644 index 0000000..bbf7e46 --- /dev/null +++ b/hello.py @@ -0,0 +1,6 @@ +from flask import Flask +app = Flask(__name__) + +@app.route("/") +def hello(): + return "Hello World!"