On Jul 8, 2009, at 5:13 AM, Mr admin wrote: > One thing you can do is, login to the box using ssh, edit your > models, views and controllers without using the admin interface at > all.
I'm not particularly concerned about the admin interface; I'm happy to develop locally (OS X in my case) and deploy updates via ssh. On Jul 8, 2009, at 5:21 AM, NetAdmin wrote: > As for running after a reboot, you could use cron to try and start > web2py hourly. If it's running, it should give an error message > that says "Address already in use" I don't like that this would put me off the air for an hour (or whatever interval). On the other hand, reboots are rare, so maybe it's not such a problem. I was vaguely thinking along the lines of having a cgi script that would be invoked by a request to web2py if web2py weren't running. But I haven't really thought out the implications of that. There's another problem, that Apache runs as a global user on the host. I use a PHP-only wrapper script for a couple of applications, such as WordPress <http://pragmatos.net>. So perhaps a wrapped PHP script to do the startup? Regardless, it'd be nice to have a recipe or three for running web2py via login account. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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 -~----------~----~----~----~------~----~------~--~---

