Hey, <br>Once I checkout PlainLoginDemo, is there an easy way to get grok to load it as an application? I can place it in Sample/src/PlainLoginDemo but it doesn't get picked up by grok which is only looking in Sample/src/sample.
<br>Thanks.<br><br><div class="gmail_quote">On Jan 13, 2008 6:17 PM, Sebastian Ware <<a href="mailto:sebastian@urbantalk.se">sebastian@urbantalk.se</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;">
It's no magic :)<br><br>Go to the [buldout-eggs/] directory and find the package that you are<br>interested in. You will usually find the tests in a file called<br>[tests.py] or a directory called [tests/]. You might want to explore
<br>the components file hierarchy.<br><br>You might find other useful documentation in any files ending with<br>[.txt]. Both doctests and pure docs. There is usually interesting<br>information in the [interfaces.py] file as well.
<br><br>I use a macosx editor called Textmate which allows me to open a<br>directory as a "project" and perform a project wide search. By<br>searching for an interface or class I usually find the corresponding<br>
documentation quickly. Without it, finding the good stuff would be a<br>royal pain...<br><br>I often use the macosx fulltext file search (spotlight) when trying to<br>locate in which component a class or interface is defined. Only to
<br>open the component with Textmate.<br><br>Mvh Sebastian<br><br>13 jan 2008 kl. 22.57 skrev daniel:<br><div><div></div><div class="Wj3C7c"><br>> Hey Sebastian,<br>> How do you access all these doctests? Are you working with grok from
<br>> the python shell?<br>> Also, is there web access to <a href="http://svn.zope.org/" target="_blank">http://svn.zope.org/</a> so you can browse<br>> the contents? When you're interested in an app, I know how to check
<br>> one out, but is there some easy way of installing it to test it on<br>> my local system?<br>> I think my way of developing with grok might be limited, the only<br>> thing I do is write the scripts/templates in an editor and restart
<br>> zope/grok.<br>> Thanks,<br>><br>> On Jan 13, 2008 12:34 PM, Sebastian Ware <<a href="mailto:sebastian@urbantalk.se">sebastian@urbantalk.se</a>><br>> wrote:<br>> 13 jan 2008 kl. 18.31 skrev Sebastian Ware:
<br>><br>> > from zope.interface import Interface<br>> > from zope import schema<br>> > from BTrees.OOBTree import OOTreeSet<br>> > from logindemo.app import LoginDemo<br>><br>> import grok
<br>><br>> ...oops :)<br>><br>> Mvh Sebastian<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>><br>><br>><br>> --<br>><br>> -- Daniel<br><br></div></div></blockquote></div>
<br><br clear="all"><br>-- <br><br>-- Daniel