You can remove gluon/contrib/populate.py, which is almost 1 mb. You can also run web2py with `python -OO web2py.py`, and after getting the app to load all your modules (perhaps by accessing every page on your app), close down the server. Then remove all the .py and .pyc files, just leaving pyo files. These files won't have docstrings in them or comments, and will be rather minimalistic bytecode (just be sure to keep any of your original python code somewhere safe).
Make sure your application isn't set to cache to disk -- if any caching is done, cache in ram or not at all. Remove the README file and the scripts folder. Anything else appears to be too small to be worth the effort. On Aug 23, 10:05 am, Jose <[email protected]> wrote: > I have hosting in webfaction and I am very satisfied with the service > and support. > > Yesterday I was trying alwaysdata, which provides a free hosting > alternative. The free option has some limitations, such as used disk > space (10MB) and RAM (40MB). > > Following the tutorial [2], in a few minutes was running application > welcome. > > I deleted the applications admin and examples, leaving only welcome, > with that used disk space on my account is 6-7 MB. > > What else can be deleted, so as to leave the bare minimum in web2py? > docs, scripts, etc? > > Jose > > [1]http://www.alwaysdata.com/ > [2]http://wiki.alwaysdata.com/wiki/D%C3% > A9ployer_une_application_web2py

