feat: full integration — app.py wiring, scheduler startup, route registration, README

- Wire blueprints and scheduler into create_app()
- Add start_scheduler param to skip scheduler in tests
- Fix Setting.get/set to use modern db.session.get()
- Remove unused imports from conftest and models
- Add README with quick start and usage guide

Made-with: Cursor
This commit is contained in:
cottongin
2026-04-06 15:22:38 -04:00
parent ec9f31f072
commit 5c924f7dba
6 changed files with 3086 additions and 9 deletions

View File

@@ -1,5 +1,3 @@
import os
import tempfile
import pytest
from app import create_app, db as _db
import config
@@ -12,7 +10,7 @@ def app(tmp_path):
config.ISSUES_DIR = str(tmp_path / "data" / "issues")
config.SQLALCHEMY_DATABASE_URI = f"sqlite:///{tmp_path / 'test.db'}"
app = create_app()
app = create_app(start_scheduler=False)
app.config["TESTING"] = True
with app.app_context():