compiled and static are enough if you do not want to distribute the source.
On Jan 9, 4:49 pm, Alex <mrauc...@gmail.com> wrote: > thanks! do I really need everything in the archive or would the > directories 'compiled' and 'static' be enough? > > On 9 Jan., 22:21, Massimo Di Pierro <massimo.dipie...@gmail.com> > wrote: > > > > > > > > > cd applications/app > > tar zcvf web2py.app.name.w2p * > > > On Jan 9, 1:39 pm, Alex <mrauc...@gmail.com> wrote: > > > > Hello, > > > > I want to pack my application from a script/command line (not running > > > in web2py). How can I achieve this? > > > > I can compile the application with > > > gluon.compileapp.compile_application('applications/myapp') > > > there is > > > gluon.admin.app_pack_compiled > > > to pack it, but this function needs the request object so I don't know > > > how I can call it. Please also let me know In case it is not possible > > > so I don't spend more time searching for possible solutions. > > > > Alex > > > > PS: I already asked this question 1 month ago but did not get any > > > answers, I hope it's ok to try again.