Also, look at /web2py/router.example.py and /web2py/routes.example.py (note, if you want to use router.example.py, you have to rename it to routes.py, not router.py).
Anthony On Saturday, August 27, 2011 1:32:15 AM UTC-4, Jarrod Cugley wrote: > > Yeah but I didn't understand it at all really on my first read through > so I'm going to have to go back and read it over of course :) > > On Aug 27, 3:26 pm, Anthony <abas...@gmail.com> wrote: > > Have you looked at this section of the book yet: > http://web2py.com/book/default/chapter/04#URL-Rewrite > > > > > > > > > > > > > > > > On Saturday, August 27, 2011 1:22:53 AM UTC-4, Jarrod Cugley wrote: > > > > > One more thing, right now my URL is: > > > > > http://1.myapp.appspot.com/myapp/default/index > > > > > How would I make this: > > > > > http://myapp.appspot.com/ > > > > > Without breaking everything? > > > > > On Aug 27, 3:15 pm, Jarrod Cugley <jcu...@gmail.com> wrote: > > > > Ok after hours of fiddling (yes it somehow took me that long HAHAHA) > I > > > > figured it out, thanks for the assistance Mass and Jon :) > > > > > > On Aug 27, 2:08 pm, Jarrod Cugley <jcu...@gmail.com> wrote: > > > > > > > Massimo, I watched the video, it was very helpful thank you, but > I'm > > > > > still confused with how to upload my app onto GAE. > > > > > > > My app is inside the following directory: > /web2py/applications/myapp > > > > > > > So I set my GAE launcher directory to: /web2py/ > > > > > > > So I leave the application name empty? And where do the app.yaml > and > > > > > queue.yaml files go? > > > > > > > I still get errors because it can't find modules like > dev_appengine.py > > > > > and gaehander.py (which is in my web2py folder) > > > > > > > On Aug 27, 1:03 pm, Massimo Di Pierro <massi...@gmail.com> > > > > > wrote: > > > > > > > > This is an old video but perhaps it may help: > > >http://vimeo.com/3703345 > > > > > > > > On Aug 26, 9:51 pm, Jarrod Cugley <jcu...@gmail.com> wrote: > > > > > > > > > Ok, I've done that, but now what am I meant to do with the GAE > > > > > > > launcher settings? The documentation in the web2py book makes > no > > > > > > > sense, I've done what it says but it doesn't work? In GAE > launcher > > > > > > > what are the following settings meant to be?: > > > > > > > > > Application Name = ? > > > > > > > Application Directory = ? > > > > > > > > > when I set the directory to be web2py it just creates a new > folder > > > and > > > > > > > then I copy everything from web2py/applications/myapp into > web2py/ > > > > > > > myapp? > > > > > > > > > I'm so confused... > > > > > > > > > On Aug 27, 11:41 am, Jonathan Lundell <jlu...@pobox.com> > wrote: > > > > > > > > > > On Aug 26, 2011, at 6:32 PM, Jarrod Cugley wrote: > > > > > > > > > > > I'm kind of confused because I downloaded web2py on the mac > and > > > I have > > > > > > > > > a web2py.app file that has the folder 'Contents' inside it > > > which then > > > > > > > > > has inside it: Frameworks, MacOS, Resources. > > > > > > > > > > > I've been treating Resources as my top-level folder for > web2py > > > because > > > > > > > > > it seems to be what works, but it doesn't have the > > > gaehandler.py in > > > > > > > > > it? What do I do? > > > > > > > > > > Download the source (instead of the Mac package) if you're > > > deploying on GAE. It'll work fine on OS X, too.