2026-03-09 17:42:26 -05:00
|
|
|
"""
|
|
|
|
|
wsgi.py — Gunicorn entry point for VideoPress.
|
|
|
|
|
|
2026-03-17 14:01:35 -05:00
|
|
|
Start the production server with:
|
|
|
|
|
gunicorn -c gunicorn.conf.py wsgi:application
|
2026-03-09 17:42:26 -05:00
|
|
|
|
2026-03-17 14:01:35 -05:00
|
|
|
The variable must be named 'application' (or 'app') — Gunicorn looks for
|
|
|
|
|
a WSGI callable at this module level.
|
2026-03-09 17:42:26 -05:00
|
|
|
"""
|
|
|
|
|
|
2026-03-17 14:01:35 -05:00
|
|
|
from app import create_app
|
2026-03-09 17:42:26 -05:00
|
|
|
|
2026-03-17 14:01:35 -05:00
|
|
|
application = create_app()
|