commit 4f95b442056be91553896879ec46d9c3be5245cc Author: esensar Date: Sat Apr 14 13:44:47 2018 +0200 Initialize flask project 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!"