Bill,

I see. However, I wanted to try uwsgi instead of mod_wsgi. I will be using 
nginx, not Apache.




Best Regards,
Paul Greenberg, Esq.

Law Office of Paul Greenberg
530 Main Street, Suite 102
Fort Lee, NJ 07024
E-mail: p...@greenberg.pro
Tel:  201-402-6777
Fax:  201-301-8876
Cell: 212-380-7343
Web: http://www.greenberg.pro/
Twitter: @nymetrolaw



________________________________
From: django-users@googlegroups.com <django-users@googlegroups.com> on behalf 
of Bill Freeman <ke1g...@gmail.com>
Sent: Wednesday, August 06, 2014 1:47 PM
To: django-users
Subject: Re: nginx and django without virtualenv

Performance *should* be identical.

All that virtualenv does (from the point of view of the executing python 
program) is to change how sys.prefix and sys.exec_prefix are set, and thus, how 
sys.path is calculated.

But with a vanilla sys.path, you need to be sure that django, your other 
dependencies, and your project are all still found.  (Installing django in a 
virtualenv does *NOT* also install it in the main python (actually, it's the 
python that mod_wsgi is linked against that counts).


On Wed, Aug 6, 2014 at 1:22 PM, Paul Greenberg 
<p...@greenberg.pro<mailto:p...@greenberg.pro>> wrote:

All,


I was running django with Apache and mod_wsgi for a while. Now, I am planning 
to run django without virtualenv. Although, it seems virtualenv might help.

http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html


Any pointers? Performance issues?


Best Regards,
Paul Greenberg, Esq.

Law Office of Paul Greenberg
530 Main Street, Suite 102
Fort Lee, NJ 07024
E-mail: p...@greenberg.pro<mailto:p...@greenberg.pro>
Tel:  201-402-6777<tel:201-402-6777>
Fax:  201-301-8876<tel:201-301-8876>
Web: http://www.greenberg.pro/
Twitter: @nymetrolaw


--
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
django-users+unsubscr...@googlegroups.com<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to 
django-users@googlegroups.com<mailto:django-users@googlegroups.com>.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1407345736984.18318%40greenberg.pro<https://groups.google.com/d/msgid/django-users/1407345736984.18318%40greenberg.pro?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
django-users+unsubscr...@googlegroups.com<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to 
django-users@googlegroups.com<mailto:django-users@googlegroups.com>.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB%2BAj0vZJLX4f-5e9-hNXkHGkdLDDXU7UWZy7%3D-E_feF2yoBcQ%40mail.gmail.com<https://groups.google.com/d/msgid/django-users/CAB%2BAj0vZJLX4f-5e9-hNXkHGkdLDDXU7UWZy7%3D-E_feF2yoBcQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1407347519429.77187%40greenberg.pro.
For more options, visit https://groups.google.com/d/optout.

Reply via email to