thanks for the reply and code! will give me something to work on. so
the app.yaml has devchat but points to the tasks...great!

On Dec 12, 4:18 pm, samwyse <[email protected]> wrote:
> First, you need to merge your webapp.WSGIApplication calls.  Looking
> at the two programs, one calls it in main, the other is inl-ine.  I'd
> make the combined version look like this:
>
> def main():
>   application = webapp.WSGIApplication([
>       ('/', MergedInboxAndMainPage),
>       ('/sign', Guestbook),
>       ('/edittask.do', EditTaskAction),
>       ('/createtasklist.do', CreateTaskListAction),
>       ('/addmember.do', AddMemberAction),
>       ('/inboxaction.do', InboxAction),
>       ('/tasklist.do', TaskListAction),
>       ('/publishtasklist.do', PublishTaskListAction),
>       ('/settaskcompleted.do', SetTaskCompletedAction),
>       ('/settaskpositions.do', SetTaskPositionsAction)], debug=_DEBUG)
>   run_wsgi_app(application)
>
> This needs to go into what I'll call my_main.py, which merges the two
> Python files' code.
>
> MergedInboxAndMainPage will look a lot like the InboxPage, but with
> extra stuff to run the guestbook.
>
> Looking at the app.yaml files, I'd start with this:
>
> application: devchat
> version: 1
> runtime: python
> api_version: 1
>
> handlers:
> - url: /stylesheets
>   static_dir: stylesheets
>
> - url: /static
>   static_dir: static
>
> - url: /favicon.ico
>   static_files: static/favicon.ico
>   upload: static/favicon.ico
>
> - url: /.*
>   script: my_main.py
>
> On Dec 12, 10:31 am, paulmo <[email protected]> wrote:
>
> > any feedback please?
>
> > On Dec 9, 9:06 pm, paulmo <[email protected]> wrote:
>
> > > as a first step with appengine, i've deployed the following (re-named)
> > > guestbook app from appengine 
> > > samples:http://code.google.com/p/google-app-engine-samples/source/browse/trun...
>
> > > and i'd like to add another one, tasks, to my same 
> > > application:http://code.google.com/p/google-app-engine-samples/source/browse/trun...
>
> > > how to add two or more sample apps within one application, so that
> > > guestbook and tasks appear on my appspot page? i'm guessing there is
> > > some way to merge the app.yaml files, etc., but i'm real new at this
> > > and need help. thanks in advance.

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.


Reply via email to