[Grok-dev] Multiple grok applications within one grok project

Jeffrey D Peterson bgpete at gmail.com
Tue Aug 3 12:20:44 EDT 2010


Just like that.  Then each app.py will have:

class MyApp(grok.Application, grok.Container):

or somesuch, like you'd build any grok app.

Enable each app in the applications UI and you are good to go.

> -----Original Message-----
> From: grok-dev-bounces at zope.org [mailto:grok-dev-bounces at zope.org] On
> Behalf Of Sascha Boch
> Sent: Tuesday, August 03, 2010 8:28 AM
> To: grok-dev at zope.org
> Subject: [Grok-dev] Multiple grok applications within one grok project
> 
> Hi there,
> 
> I would like to make multiple applications available within one grok
> project while at the same time I'd like to keep the code and template
> files in separate folders.
> 
> Here is a simple folder structure that would support this:
> 
> src
>   app1
>      app_templates
>      static
>      app.py
>   app2
>      app_templates
>      static
>      app.py
> 
> Is this possible? How do I do this?
> 
> Thanks in advance,
> Sascha
> --
> GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.
> Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev



More information about the Grok-dev mailing list