http://groups.google.com/group/web2py/browse_thread/thread/4abaf58c38f31ae5/5a3b1f19ce4dbab0?lnk=gst&q=compile+application+#5a3b1f19ce4dbab0

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.

Reply via email to