Skip to content

Working example of how to use uWSGI in Emperor mode with on-demand vassals.

Notifications You must be signed in to change notification settings

smn/uwsgi-emperor-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uWSGI Emperor Example

Start uWSGI in Emperor mode with two Django app vassals:

$ virtualenv ve
$ source ve/bin/activate
(ve)$ pip install -r requirements.txt
(ve)$ ./run-wsgi.sh

Start Nginx:

$ nginx -c `pwd`/nginx.conf

Issue a request with curl to see the app being started automatically & stopped when idling:

$ curl -XGET http://localhost:9000/

About

Working example of how to use uWSGI in Emperor mode with on-demand vassals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published