Difference between revisions of "Zaqar/bp/uwsgi-sample"
< Zaqar
(Created page with "Consider adding a sample script and something to the docs along these lines: # marconi-wsgi.py from marconi import bootstrap boot = bootstrap.Bootst...") |
m (Malini moved page Marconi/bp/uwsgi-sample to Zaqar/bp/uwsgi-sample: Project Rename) |
(No difference)
|
Latest revision as of 18:42, 7 August 2014
Consider adding a sample script and something to the docs along these lines:
# marconi-wsgi.py from marconi import bootstrap boot = bootstrap.Bootstrap() # uwsgi looks for a module attribute named "application" by default # Example cmd to run: # uwsgi --http :8080 --file marconi-wsgi.py \ # --gevent 2000 --gevent-monkey-patch -l 1000 -p 4 -L application = boot.transport.app