18 lines
469 B
Python
18 lines
469 B
Python
"""
|
|
wsgi.py — Gunicorn entry point for VideoPress.
|
|
|
|
Start with:
|
|
gunicorn -c gunicorn.conf.py wsgi:app
|
|
|
|
Or directly:
|
|
gunicorn \
|
|
--worker-class geventwebsocket.gunicorn.workers.GeventWebSocketWorker \
|
|
--workers 1 \
|
|
--bind 0.0.0.0:8080 \
|
|
wsgi:app
|
|
"""
|
|
|
|
from app import app # noqa: F401 — 'app' is the Flask application object
|
|
|
|
# Gunicorn imports this module and looks for a callable named 'app'.
|
|
# Nothing else is needed here.
|