Does anybody know what the command is to compile from the command line ?
Also is there are website or part of the book that will collect this so I can
add it ?
Thanks in advance.
With regards,
Mike Veltman
python -c "import gluon.compileapp; gluon.compileapp.compile_application('applications/<appname>')"
All the functions available in the 'admin' app are available in /gluon/admin.py for command line use. The function for compiling the app is app_compile(app, request), which in turn calls gluon.compileapp.compile_application. I don't think this is documented in the book.
That was it ! thanks :)
With regards,
Mike Veltman
Regards,
Thomas
Sorry for this basic question about compiled apps: do we have to run
web2py in a different way with a compiled app ? or does web2py detect
that there is a compiled version ?