On 12/6/06, Ian Bicking <[EMAIL PROTECTED]> wrote: > > Ramon Diaz-Uriarte wrote: > > Dear All, > > > > When a web application generates lots of extra stuff that gets stored > > for a while (e.g., temporal files with results ---ours are a bunch of > > bioinformatics applications: http://asterias.info), what is the most > > appropriate place to install the egg? > > > > Since lots of stuff gets modified and added, as part of the > > application execution, I think it is best to have the application > > installed in the home of the web-server user, not as root. This allows > > to set user quotas, prevent /usr/lib/python2.4/site-packages/ from > > filling up with junk and, I think, is less likely to lead to security > > issues. > > > > Does this make sense? > > FWIW, I use workingenv to keep my web apps straight instead of > installing them with the system libraries: > http://cheeseshop.python.org/pypi/workingenv.py/0.2 > > The virtual-python script > (http://peak.telecommunity.com/dist/virtual-python.py) serves much the > same purpose, but with a slightly different technique. >
Thanks for the links. I had used virtual-python, but after playing with workingenv, I think it is better suited to our needs. A very nice thing is that I can use workingenv to install anywhere, and that is very important for us, because we have a cluster where a bunch of things need to be shared over NFS (like some of the web app data, etc). Best, R. > > -- > Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org > > > > -- Ramon Diaz-Uriarte Statistical Computing Team Structural Biology and Biocomputing Programme Spanish National Cancer Centre (CNIO) http://ligarto.org/rdiaz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
