So I&#39;ll be learning the whole wsgi thing in the new year I guess :)<br><br><div class="gmail_quote">On Dec 31, 2007 11:33 AM, Tres Seaver &lt;<a href="mailto:tseaver@palladion.com">tseaver@palladion.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><div class="Ih2E3d"><br>David Bain wrote:
<br><br>&gt; I&#39;m wondering, I use virtualenv for development, but should I use it for<br>&gt; deploying a grok application.<br><br></div>We use it for deploying grok under mod_wsgi,<br><div class="Ih2E3d"><br>&gt; How might this be done?
<br><br></div>Under mod_wsgi, you set the &#39;python-path&#39; of the process to point to the<br>virtualenv.<br><br>&gt; WSGIDaemonProcess grok threads=1 processes=4 maximum-requests=10000 user=tseaver<br>&gt; &nbsp;python-path=/home/repoze/www/grok.repoze.org/lib/python2.4/site-packages
<br><div class="Ih2E3d"><br>&gt; I&#39;m especially interested in how a virtualenv may be started with an<br></div>&gt; init.dscript to ensure proper startup at boot time.<br><br>If you are starting the server via paste, you should just be able to
<br>point to the &#39;bin&#39; directory of the virtualenv in your init.d script.<br><br><br>Tres.<br>- --<br>===================================================================<br>Tres Seaver &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+1 540-429-0999 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="mailto:tseaver@palladion.com">tseaver@palladion.com</a><br>Palladion Software &nbsp; &quot;Excellence by Design&quot; &nbsp; &nbsp;<a href="http://palladion.com" target="_blank">http://palladion.com</a><br>-----BEGIN PGP SIGNATURE-----
<br>Version: GnuPG v1.4.6 (GNU/Linux)<br>Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br><br>iD8DBQFHeRn2+gerLs4ltQ4RAopuAJ4nhCzF3spUSQ61TB5psIiNP7wJaACfbFFy
<br>rp5nVMAoIBKiOpJq3qPAGek=<br>=Qho4<br>-----END PGP SIGNATURE-----<br><br>_______________________________________________<br>Grok-dev mailing list<br><a href="mailto:Grok-dev@zope.org">Grok-dev@zope.org</a><br><a href="http://mail.zope.org/mailman/listinfo/grok-dev" target="_blank">
http://mail.zope.org/mailman/listinfo/grok-dev</a><br></blockquote></div><br>