readme and init changes

This commit is contained in:
cube
2026-03-28 22:46:52 +00:00
parent c3dec04c8d
commit a4f8dd5abb
3 changed files with 51 additions and 19 deletions

View File

@@ -11,6 +11,11 @@ def create_app(test_config=None):
# ensure the instance folder exists
os.makedirs(app.instance_path, exist_ok=True)
os.makedirs(app.ICON_UPLOAD_FOLDER, exist_ok=True)
os.makedirs(app.BLINKIES_UPLOAD_FOLDER, exist_ok=True)
os.makedirs(app.STAMPS_UPLOAD_FOLDER, exist_ok=True)
os.makedirs(app.THEMES_FOLDER, exist_ok=True)
os.makedirs(app.TMP_FOLDER, exist_ok=True)
from . import db
db.init_app(app)