mirror of
https://github.com/paradoxxxzero/butterfly.git
synced 2026-06-08 21:34:39 +00:00
Flask skel
This commit is contained in:
4
app/__init__.py
Normal file
4
app/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from flask import Flask
|
||||
app = Flask(__name__)
|
||||
|
||||
from . import *
|
||||
7
app/routes.py
Normal file
7
app/routes.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from . import app
|
||||
from flask import render_template
|
||||
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
return render_template('index.jinja2')
|
||||
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
1
requirements.txt
Normal file
1
requirements.txt
Normal file
@@ -0,0 +1 @@
|
||||
flask
|
||||
Reference in New Issue
Block a user