readme and init changes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user