basic flask app

This commit is contained in:
Matthew Frost 2023-11-19 00:23:17 +01:00
commit 46d624d478
4 changed files with 10 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
.python-version
*.pyc

7
app/__init__.py Normal file
View 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
View file

1
requirements.txt Normal file
View file

@ -0,0 +1 @@
flask