Thank you for your reply.

Aldo my first reply suggested that I wanted to seperate the admin app.
This not my intention.
With web2py-<appname>.deb was for verified user apps from web2py.com.

But still your interpretation of it ain't an wrong idee.
For securite and vps reasons/situations it's required to run in there
own directory.

So if possible, we could link the application to user directory
which means that every user that is running web2py will get a web2py
directory.
somethink like.
/home/<user>/web2py/
which contains a symlink to following directories
/usr/local/bin/web2py/gluon/
/usr/local/bin/web2py/scripts/
and the following files
/usr/local/bin/web2py/web2py.py
and all other user independent files /*massimo knows which files that
would be
create directory
/home/<user>/web2py/application
put a symlink to
/usr/local/bin/web2py/application/admin/
then put under
/home/<user>/web2py/
parameters_8000.py

Then create a start up entry for that user.

There are a few problems with this plan.
Does every user has his own web2py?
Has web2py problems with symlinks?
Is the symlink a real bottleneck for web2py and should there be a
hardlink?
Are the directories accoording the ubuntu guidlines?

I fairly interested in your opinion.

regards Mark Breedveld,

On Mar 21, 1:15 pm, Dima Barsky <d...@debian.org> wrote:
> On Mar 20, 5:01 pm, Mark Breedveld <m.breedv...@solcon.nl> wrote:
>
> > The web2py community is searching help ondebian/ ubuntu packaging.
> > The are concrete plans to deploy web2py as Turnkey Appliance.
>
> Mark,
>
> I'll see what I can do, although it might be not straightforward.
> There is no clear separation in web2py between the library code and
> the user code.  Take, for example, the admin application: it is
> located under the applications directory nearby the user code, but
> it's really part of the core, as web2py refuses to start without it.
>
> I would say the first step should be to patch web2py to allow the user
> code to be located somewhere else, not in the web2py directory, which
> is currently not possible. I'll give it a go, but I'm not very
> familiar with web2py internals, so I would appreciate a bit of help
> from somebody more experienced. Once this is done, the actual
> packaging will be quite simple.
>
> 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 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.

Reply via email to