I find the docs and examples at
https://cloud.google.com/appengine/docs/python/modules/ quite useful.  It
shows an app.yaml for the default module, and an xxx.yaml per module (which
it names xxx just the same as the module name in its `module:` entry) -- it
doesn't directly explain dispatch.yaml, but that's covered at
https://cloud.google.com/appengine/docs/python/modules/routing if you need
to change the default routing rules also explained in this latter webpage.

BTW, this seems to me to be a good Stack Overflow question -- by asking
there you may get multiple good answer reflecting different opinions and
experiences.  (I'm going to be changing our messaging to better explain
what Qs should ideally go to Stack Overflow, vs these groups, vs Server
Fault, but it will take me a while:-).


Alex


On Wed, Feb 11, 2015 at 4:25 PM, Jordan Howlett <jor...@interaxon.ca> wrote:

> Hello. I am trying to think about the best way to structure a large python
> app engine project. We make use of a dev,staging, prod branch and in each
> one we have about 4 modules.
>
> I want to organize it so the modules can have some shared code like
> certain utilities, models, and what not. But have it's own endpoints etc.
>
> I want each module to have it's own git repo so that they can be git
> submodules inside the main git repo.
>
> I thought something like:
>
> gae-app/├── modules│   ├── api│   │   ├── app.yaml│   │   └── src│   │       
> └── main.py│   ├── mobile│   │   ├── app.yaml│   │   └── src│   │       └── 
> index.html│   └── www│       ├── app.yaml│       └── src│           ├── 
> main.py│           └── templates├── cron.yaml├── index.yaml└── queue.yaml
>
>
> However, I am not sure how this can be deployed as one app engine project 
> with multiple modules? When I try to run something like that I get an error 
> from appengine saying that the directory gae-app must have a file named 
> app.yaml or app.yml.
>
> Is there another way to do this? Any examples or suggestions?
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/a4086716-290b-45cb-9898-5d3f63dc2044%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/a4086716-290b-45cb-9898-5d3f63dc2044%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAE46Be9Y56p9Q%2BpT2JW-hLX8rvCbM8o4FuMvp7Y6VDF_WuuFnA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to