Last modified 3 years ago
Using uWSGI with virtualenv
Quickstart
- create your virtualenv:
$ virtualenv myenv New python executable in myenv/bin/python Installing setuptools...............done.
- install all the modules you need (pylons example):
* ./myenv/bin/easy_install pylons
- copy your wsgi module in this new env (under lib/python2.x if you do not want to modify the PYTHONPATH) then run the uwsgi server
using the -H option:
$ ./uwsgi26 -H myenv -s 127.0.0.1:3031 -M -w envapp *** Starting uWSGI on [Thu Dec 17 11:07:00 2009] *** your process address space limit is 4294967295 bytes (4095 MB) Setting PythonHome to myenv... binding on TCP port: 3031 ............
