This is a good example from Thadeus blog -> http://thadeusb.com/weblog/2010/4/21/compile_web2py_apps_externally
On Oct 18, 8:55 pm, "Martin.Mulone" <mulone.mar...@gmail.com> wrote: > http://groups.google.com/group/web2py/browse_thread/thread/4abaf58c38... > > from mdipierro > yes, make a script compile.py > from gluon.admin import app_compile > app_compile(request.application, request) > and run it with > python web2py.py -S yourappname -R compile.py > I have not tried it but should work. Everything that can be done via > admin interface has an API in the gluon.admin module. > Let us know if it works. > Massimo > > On 18 oct, 19:52, "mr.freeze" <nat...@freezable.com> wrote: > > > > > from gluon.admin import app_compile > > errs = app_compile('myapp',request) > > if errs: > > response.flash = 'There were errors' > > else: > > response.flash = 'Application compiled' > > > On Oct 18, 3:58 pm, VP <vtp2...@gmail.com> wrote: > > > > Is there a way to compile apps manually (instead of through the admin > > > interface)? > > > > Thanks.