You can bytecode compile hem but you cannot break the deplyment mechanism. Even bytecode compiled apps must be under a writable applications, therefore under /vars/
On Mar 22, 1:20 pm, "Mark Breedveld" <m.breedv...@solcon.nl> wrote: > Hi everyone, > > Thought that it was possible to pre-compile applications in web2py. > > Never used it before, but I found it out on the website. > > We could consider pre-compiled applications as production applications. > > Which means they may not and cannot be edited. > > All non compiled application could be considers as source/development > applications. > > Which may exist in the apt repo. > > All pre-compiled application should be in the /opt/ directory, If you define > a web2py application as an extention of web2py. > > But there is also a say for a web2py app as indepent application, build on > the os web2py. > > Which means it should be in the /usr dictory. > > The non pre-compiled applications, > > Should all be under /var/, because they change. > > Well I'm not an expert on this topic, > > but this is my first interpretation of the guidelines. > > Because we should design it prefect and then create work arounds. > > My excuse for putting things in a hurry. > > Regards, > > Mark Breedveld, > > -----Oorspronkelijk bericht----- > > Van: web2py@googlegroups.com [mailto:web...@googlegroups.com] Namens Dima > Barsky > > Verzonden: maandag 22 maart 2010 18:55 > > Aan: web2py-users > > Onderwerp: [web2py] Re: Debian / Ubuntu packager needed! > > On Mar 22, 5:33 pm, Kuba Kucharski < <mailto:kuba.kuchar...@gmail.com> > > kuba.kuchar...@gmail.com> wrote: > > There are two type of "apps": > > > the core, web2py itself > > > applications that runs in the web2py environment. Those have to be > > editable. This is a hard case, since web2py is "kind of an OS itself", > > this should be solved with /var. > > Kuba, could you clarify please? Why do you think pre-packaged applications > have to be editable? > > Debian is not unique in this respect, it is generally not a good idea to > modify applications after they have been deployed. It makes bug reporting > and investigation much more difficult, it makes the intrusion detection > impossible.. should I continue? > > Regards, > > Dima. > > -- > > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > > To post to this group, send email to <mailto:web2py@googlegroups.com> > web...@googlegroups.com. > > To unsubscribe from this group, send email to > <mailto:web2py+unsubscr...@googlegroups.com> > web2py+unsubscr...@googlegroups.com. > > For more options, visit this group at > <http://groups.google.com/group/web2py?hl=en>http://groups.google.com/group/web2py?hl=en. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.