<br><br><div class="gmail_quote">On Sat, May 16, 2009 at 20:07, Laurence Rowe <span dir="ltr">&lt;<a href="mailto:l@lrowe.co.uk">l@lrowe.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">Andreas Jung wrote:<br>
&gt; Hi there,<br>
&gt;<br>
&gt; I am currently totally clueless and confused about the<br>
&gt; deployment story with Grok apps.<br>
&gt;<br>
&gt; As developer I can create my sandbox using grokproject and implement<br>
&gt; my_weird_package based on the generated skeleton. Ok, the application<br>
&gt; is working - now I want to package and distribute my_weird_package.<br>
&gt; What is the suggested approach for doing this?<br>
&gt;<br>
&gt; As a Grok user I want to setup a new Grok server and install<br>
&gt; my_weird_package<br>
&gt; (possibly together with other Grok apps within the Grok instance). As an<br>
&gt; experienced<br>
&gt; Grok user I would use grokproject for creating an empty instance and install<br>
&gt; my_weird_package in some way (in which way?). As a newbie Grok user I would<br>
&gt; expect &#39;easy_install my_weird_package&#39; to produce a running Grok instance!?<br>
&gt;<br>
&gt; So what is the way doing it the right way - for the Grok developer/package<br>
&gt; and the Grok user?<br>
<br>
</div></div>As someone who has never used grok, but would like to be able to install<br>
grok-built applications, I&#39;d feel most comfortable if those applications<br>
  were &#39;standard&#39; wsgi components, just like the other wsgi applications<br>
I already run (trac, paste, repoze and one day plone). These most likely<br>
run under apache mod_wsgi. There is a tutorial here,<br>
<a href="http://grok.zope.org/documentation/tutorial/installing-and-setting-up-grok-under-mod-wsgi/" target="_blank">http://grok.zope.org/documentation/tutorial/installing-and-setting-up-grok-under-mod-wsgi/</a><br>
<br>
As far as I can tell, the only drawback to using mod_wsgi compared to<br>
proxying is that there is no way to provide session affinity. Useful<br>
when you want the zodb cache to be relevant.<br></blockquote><div><br>(Un)fortunately I don&#39;t care much about WSGI :-)<br><br>Andreas <br></div></div>