entire app update:
moder view app with static page, forgejo ci/cd workflow
This commit is contained in:
parent
25c896f809
commit
e6e700c2ee
13 changed files with 460 additions and 28 deletions
12
app/__init__.py
Normal file
12
app/__init__.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from flask import Flask
|
||||
import os
|
||||
|
||||
|
||||
def create_app():
|
||||
app = Flask(__name__)
|
||||
app.config.from_object('config.Config')
|
||||
|
||||
from app.routes import main
|
||||
app.register_blueprint(main)
|
||||
|
||||
return app
|
||||
Loading…
Add table
Add a link
Reference in a new issue