Initial Commit
This commit is contained in:
commit
e2f743e8bc
11 changed files with 3104 additions and 0 deletions
18
wsgi.py
Normal file
18
wsgi.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
"""
|
||||
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue