In gaehandler.py, you can add a section called skip_files which lists
file patterns that appcfg skips when uploading to GAE.

http://code.google.com/appengine/docs/configuringanapp.html#Skipping_Files

I thought a skip_files section was included in the cgi handler, that
skipped the tar files the admin app etc, since those files are not
used on GAE and can cause the upload to fail if any file is over 1MB
in size, but when I look in trunk, skip_files is not present, so it is
a good idea to add skip_files section back in to gaehandler.py.

Robin

On Dec 28, 7:55 am, "sudhakar m" <[email protected]> wrote:
> Thanks massimo. I did it little bit differently. I created the symbolic link
> between web2py & GAE folder, with GAE folder pointing to only the required
> files & folders.
>
> I could use the admin project for editing files locally & then use appcfg
> for upload from GAE.
>
> So far its been working great. Thanks again for web2py.
>
> Sudhakar.M
>
> 2008/12/28 mdipierro <[email protected]>
>
>
>
> > mkdir applications/mynewapp
> > cd applications/mynewapp
> > tar xvf ../../welcome.tar
>
> > Massimo
>
> > On Dec 28, 1:35 am, "sudhakar m" <[email protected]> wrote:
> > > Sorry for the double post. I was having admin & welcome, in the
> > application
> > > folder. Now its 1.1mb. I was of the impression tat these 2 folders are
> > > required as they are basic apps for web2py. I have also removed the
> > scripts
> > > folder.
>
> > > Ok. Now I dont have the admin interface. Is there any command line
> > > tool(generators) available to create files & folders?
>
> > > Sudhakar.M
>
> > > 2008/12/28 mdipierro <[email protected]>
>
> > > > This seems a lot. Are you running the binary distribution? Do you need
> > > > the binary distribution?
> > > > If you have python installed you only need:
>
> > > > web2py/*.py
> > > > web2py/gluon/*.py (and folders therein)
> > > > web2py/deposit/   (empty)
> > > > web2py/applications/   (and your own apps in here)
>
> > > > should be about 1MB
>
> > > > Massimo
>
> > > > On Dec 27, 6:30 pm, "sudhakar m" <[email protected]> wrote:
> > > > > I have been playing with web2py for last few days. I came from rails
> > & my
> > > > > exposure to both python & web2py is very limited.
>
> > > > > I tried django too as it comes bundled with GAE, but choose web2py
> > for
> > > > > portability of Web2py ORM as it can generate GQL quires (with some
> > > > obvious
> > > > > limitation of joins, counts, sort..)
>
> > > > > Back to the question in subject, I would like to have a bare minimal
> > > > > installation of web2py, so that it will be easy to manage & debug.
> > > > > After extracting from source, web2py was occupying 7mb. Once
> > installed it
> > > > > occupied around 18 mb. I believe some of the sample apps also got
> > > > extracted.
> > > > > I uninstalled examples & now its occupying around 10 mb. After
> > removing
> > > > the
> > > > > 3 tar files, it came down to 3.1mb. Still thats lot of files..
>
> > > > > Can someone help me identify the files & directores that is not
> > required
> > > > > when deploying in GAE?
>
> > > > > Thanks,
> > > > > Sudhakar.M
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to