I'll be glad to update the tutorial as soon as I find some free time this week.<br><br>Carlos de la Guardia<br><br><div class="gmail_quote">On Mon, May 19, 2008 at 11:58 AM, Peter Bengtsson <<a href="mailto:peter@fry-it.com">peter@fry-it.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Santiago,<br>
I can probably help you update that tutorial but I think Carlos de la<br>
Guardia originally wrote it so I think he's the best person to help<br>
you iron out the details.<br>
My knowledge of wsgi is very limited but I know my way around the grok website.<br>
<br>
I advice that you ping Carlos to read your points and either ask him<br>
to update his tutorial or come back to me and I'll try to help you.<br>
<br>
Peter<br>
<br>
<br>
2008/5/16 Santiago Videla <<a href="mailto:santiago.videla@gmail.com">santiago.videla@gmail.com</a>>:<br>
<div><div></div><div class="Wj3C7c">> Hi list,<br>
><br>
> I just installed grok.repoze and want to share my experience.<br>
><br>
> The quickstart in <a href="http://repoze.org" target="_blank">repoze.org</a> [2] works fine but doesn't say anything about<br>
> creating the grok application. The tutorial in <a href="http://grok.zope.org" target="_blank">grok.zope.org</a> [2] also seems<br>
> to be ok, but there is a detail missing.<br>
><br>
> At the end, once all the step are done (including the grokproject<br>
> --no-buildout <your-project>). One have to create a zcml file in:<br>
> your-sandbox/etc/grok-apps/your-project.zcml<br>
><br>
> and add something like:<br>
><br>
> <configure xmlns="<a href="http://namespaces.zope.org/zope" target="_blank">http://namespaces.zope.org/zope</a>"<br>
> xmlns:grok="<a href="http://namespaces.zope.org/grok" target="_blank">http://namespaces.zope.org/grok</a>"><br>
><br>
> <include package="<your-project>" /><br>
><br>
> </configure><br>
><br>
> then go to the grok app folder and execute:<br>
><br>
> # your-sandbox/bin/python2.4 setup.py develop<br>
><br>
> I think that with this little tweaks, both tutorial will be complete. At<br>
> least, it wasn't straightforward for me to figure out.<br>
><br>
> There is another issue with grok.repoze, it comes with grok==0.11 dependecy.<br>
> So, I had to update by hand a few eggs, and then modify the requires.txt in<br>
><br>
> your-sandbox/lib/python2.4/site-packages/repoze.grok-0.1.5-py2.4.egg/EGG-INFO/<br>
><br>
> to be able to run grok-0.12. I have to say that, I didn't documented which<br>
> eggs I had to update. But I will reproduce the process and get a list of<br>
> those.<br>
><br>
> Last thing: anybody aware of repoze.who how can be used in grok to tackle<br>
> the authorization issue?<br>
><br>
><br>
> cheers<br>
><br>
> [1] <a href="http://repoze.org/quickstart.html#repoze.grok" target="_blank">http://repoze.org/quickstart.html#repoze.grok</a><br>
> [2]<br>
> <a href="http://grok.zope.org/documentation/tutorial/installing-and-setting-up-grok-under-mod-wsgi/tutorial-all-pages" target="_blank">http://grok.zope.org/documentation/tutorial/installing-and-setting-up-grok-under-mod-wsgi/tutorial-all-pages</a><br>
><br>
> --<br>
> Santiago Videla<br>
> <a href="http://www.revolucionesweb.com.ar" target="_blank">www.revolucionesweb.com.ar</a><br>
> <a href="http://www.linkedin.com/in/svidela" target="_blank">http://www.linkedin.com/in/svidela</a><br>
><br>
> Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el<br>
> pensamiento que se hace corazón resplandece con la palabra sencilla y<br>
> humilde que l@s tod@s somos.<br>
</div></div><div class="Ih2E3d">> _______________________________________________<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>
><br>
><br>
<br>
<br>
<br>
</div><font color="#888888">--<br>
Peter Bengtsson,<br>
work <a href="http://www.fry-it.com" target="_blank">www.fry-it.com</a><br>
home <a href="http://www.peterbe.com" target="_blank">www.peterbe.com</a><br>
hobby <a href="http://www.issuetrackerproduct.com" target="_blank">www.issuetrackerproduct.com</a><br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<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>
</div></div></blockquote></div><br>