On 10/15/07, RajeshD <[EMAIL PROTECTED]> wrote:
>
> 1. Don't add myapp_* to site-packages at all. Instead keep them in two
> directory roots say /home/apps/prod and /home/apps/preprod. Similarly,
> you can have two different settings files for the two environments.
>
> 2. In your Apache vhost config for myapp.com:80, add /home/apps/prod
> to the PYTHONPATH setting. And, for myapp.com:8080, add /home/apps/
> preprod.

+1
If you're concerned about sharing site-packages and similar between
the envs, have a look at virtualenv, too.  (It supercedes workingenv.)
http://pypi.python.org/pypi/virtualenv/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to