Zaqar/bp/uwsgi-sample
< Zaqar
Revision as of 18:42, 7 August 2014 by Malini (talk | contribs) (Malini moved page Marconi/bp/uwsgi-sample to Zaqar/bp/uwsgi-sample: Project Rename)
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