Hi Doug,

For local development setup-web2py-ubuntu.sh is probably the way you
want to go.

I have not used the other script, web2py-ubuntu.sh but it appears to
be startup (init.d) script for Debian based Linux servers. In other
words it allows you to automatically start Web2py on bootup of a
(production) server and to stop start, and restart Web2py as a service
or daemon.

It looks to me like the reference to /usr/lib/web2py refers to the
daemon directory and not web2py itself. It may be that you would need
to set a Web2py path and/or install it using the Debian packaging
system as the script does not appear to include any web2py path info.

I know that someone in the group was working on a Debian installer for
Web2py but I am not sure if it was ever completed. I suspect that most
developers just install it using the first script mentioned because
this gives you the very latest version of Web2py and everything is
located in one directory.

Cheers,

Chris




On May 26, 12:11 pm, Doug Warren <[email protected]> wrote:
> Hi,
>
> I'm setting up a new dev environment for some users under Ubuntu 10 and I
> notice that the two supplied scripts in the scripts dir for dealing with
> Ubuntu seem to not be compatible...  setup-web2py uses a 'www-data'
> directory with an install path in /home/www-data among other things.
> web2py.ubuntu.sh assumes an install path of /usr/lib/web2py and an installed
> user of web2py.  Any thoughts of combining these?

Reply via email to