Monday, September 30, 2013

Re: Multiple versions of Django

Hi, uwsgi is too good option http://uwsgi-docs.readthedocs.org/en/latest/ and nginx with virtualenv


On Mon, Sep 30, 2013 at 11:45 AM, Peter Herndon <tpherndon@gmail.com> wrote:
I would suggest using separate virtual environments, each with gunicorn (http://gunicorn.org/) installed into the venv. Run gunicorn listening on a different port per venv, start all your venvs under supervisord (http://supervisor.org/), and proxy them behind nginx (http://wiki.nginx.org/).

On Sep 30, 2013, at 11:48 AM, Bill Freeman <ke1g.nh@gmail.com> wrote:

> Virtual environments can, indeed, be used under Apache.  I presume other front ends can also handle this.
>
> For Apache, the separate VE's need to be in separate deamon process groups, so that their sys.path settings can differ.
>
> The primary thing that virtualenv does for you is tweak sys.path, usually by setting PYTHONHOME, but there are other ways.
>
> If using a new enough mod_wsgi (3.4 or later, I htink), there is a python-home option to the WSGIDaemonProcess directive.  Otherwise you can fiddle sys.path in your wsgi script file.  If you are using Apache/mod_wsgi, there is lots of useful documentation and a pointer to their mailing list at http://code.google.com/p/modwsgi/
>
>
> On Mon, Sep 30, 2013 at 11:30 AM, Gerald Klein <jk@zognet.com> wrote:
> Sorry please disregard I didn't read far enough into your message
>
>
> On Mon, Sep 30, 2013 at 10:25 AM, Jasvir Singh <jassigrewal91@gmail.com> wrote:
> Is it possible to install multiple versions of Django on single ubuntu server.
> If yes, please tell me how to do this.
> I have already made a try for this using virtual environment, but
> found that it is only for development.
>
> --
>
> Jasvir Singh Grewal
> Blog:http://jasvirsinghgrewal91.wordpress.com/
>
> --
> 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+unsubscribe@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/CAN_O85vhiKvpdxf74stvfR1AsLcoP6E1EeC1M86nHgFRF34K1g%40mail.gmail.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
> --
> Gerald Klein DBA
> ContactMe@geraldklein.com
> www.geraldklein.com
> geraldklein.wordpress.com
> jk@zognet.com
> 708-599-0352
>
> Arch Awesome, Ranger & Vim the coding triple threat.
> Linux registered user #548580
> Brought to you by the Amish Mafia
>
>
> --
> 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+unsubscribe@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/CAP8NtCw5tr3%3Dt0k6H2CUVGfaNkX6jFhArh6E1iz32s412%3DjL0Q%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> --
> 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+unsubscribe@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/CAB%2BAj0trj-MnweyArGTyfSy6SR0wdRLdwV_tYCXfOvA%3DgvOeGg%40mail.gmail.com.
> For more options, visit https://groups.google.com/groups/opt_out.

--
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+unsubscribe@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/78E9816C-7555-4A0C-928D-F9D346463987%40gmail.com.

--
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+unsubscribe@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/CAM-7rO36Fp4-QFmkq6kpm8Cn__FjZ4%2BbfEZVv3WYuZmPO1WMUw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment