Updates galore. Improved folder structure, componentized, and notifications upon completion.

This commit is contained in:
Brian McGonagill 2026-03-17 14:01:35 -05:00
parent b48784e2ad
commit 7e0502ca40
33 changed files with 3565 additions and 728 deletions

17
wsgi.py
View file

@ -1,18 +1,13 @@
"""
wsgi.py Gunicorn entry point for VideoPress.
Start with:
gunicorn -c gunicorn.conf.py wsgi:app
Start the production server with:
gunicorn -c gunicorn.conf.py wsgi:application
Or directly:
gunicorn \
--worker-class geventwebsocket.gunicorn.workers.GeventWebSocketWorker \
--workers 1 \
--bind 0.0.0.0:8080 \
wsgi:app
The variable must be named 'application' (or 'app') Gunicorn looks for
a WSGI callable at this module level.
"""
from app import app # noqa: F401 — 'app' is the Flask application object
from app import create_app
# Gunicorn imports this module and looks for a callable named 'app'.
# Nothing else is needed here.
application = create_app()