basic flask app
This commit is contained in:
commit
46d624d478
4 changed files with 10 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.python-version
|
||||
*.pyc
|
7
app/__init__.py
Normal file
7
app/__init__.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
from flask import Flask, request, redirect, url_for, render_template
|
||||
|
||||
def create_app():
|
||||
# create and configure the app
|
||||
app = Flask(__name__)
|
||||
app.config.from_pyfile('settings.py')
|
||||
return app
|
0
app/settings.py
Normal file
0
app/settings.py
Normal file
1
requirements.txt
Normal file
1
requirements.txt
Normal file
|
@ -0,0 +1 @@
|
|||
flask
|
Loading…
Reference in a new issue