2022-06-19 09:28:07 +00:00
|
|
|
import os
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
# cli.py runs in <repo-root>/files, whereas our relative paths assume
|
|
|
|
# the WD is <repo-root>. NOTE: Change this if cli.py is ever moved.
|
|
|
|
os.chdir(Path(__file__).parent.parent)
|
|
|
|
|
2022-09-20 03:26:43 +00:00
|
|
|
from .__main__ import app, db_session, cache
|
|
|
|
from flask import g
|
|
|
|
import files.helpers.cron
|
|
|
|
|
2022-06-07 10:57:26 +00:00
|
|
|
#from flask_migrate import Migrate
|
|
|
|
#from flask_sqlalchemy import SQLAlchemy
|
|
|
|
#import files.classes
|
|
|
|
|
|
|
|
#db = SQLAlchemy(app)
|
|
|
|
#migrate = Migrate(app, db)
|