For a web2py startup script I just copied web2py to
/home/thadeusb/Workspace/web2py, and then web2py/applications/init is linked
to /home/thadeusb/Workspace/Web/MySite.com

On the desktop I created a shell script that contains the following...

cd /home/thadeusb/Workspace/web2py
python web2py.py &
/usr/bin/eclipse &
gnome-terminal &

Good to go :)

-Thadeus

http://thadeusb.com

On Wed, Sep 9, 2009 at 3:27 PM, Jonathan Lundell <[email protected]> wrote:

>
> On Sep 9, 2009, at 12:00 AM, Arvind wrote:
>
> > when i run the startup script for arch linux provided inside the
> > scripts folder. i keep getting this error.
> >
> > web2py.archlinux.sh: line 13: [: -ne: unary operator expected
> >
> > I have copied this script into the main web2py directory and from
> > there i am running it.
> >
> > i am not quite sure how this is supposed to run.
> >
> > can anybody please help ?
>
> If all you want is a simple startup script, I use this:
>
> #!/bin/sh
> #
> #  start web2py with recycled password and no tk UI
> #
> W2PDIR=path-to-web2py-base-directory
> (python $W2PDIR/web2py.py -a "<recycle>") &
>
> You can add nohup and redirection as required. To stop web2py, use ps
> and kill.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to