Jump to: navigation, search

Zaqar/bp/uwsgi-sample

< Zaqar(Redirected from Marconi/bp/uwsgi-sample)

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