Have you looked into modifying the django dreamhost installer script for web2py?
This is what I used to originally install django Heres a paste of it http://pastebin.com/m3dd1a90 -Thadeus On Thu, Sep 24, 2009 at 12:47 PM, Thadeus Burgess <[email protected] > wrote: > I dont' know what the reason for having a script for dreamhost is... > > All I did, was create a new subdomain, with mod_passenger (wsgi). > > wget web2py and extract. > > simlink wsgihandler.py to wsgi_passenger.py > > Boom. web2py ready and running. and if I keep my web2py app under version > control, all I have to do on dreamhost is "checkout" the changes when I'm > ready, so no admin insecurity since all development is done on my local > computer, and changes are pushed over ssh to my mercurial repository. > > Now if you reeeallly wanted admin panel, go to > applications/init/models/access.py and comment out the lines of code that > redirect if host is 127.0.0.1. > > -Thadeus > > > > > > On Thu, Sep 24, 2009 at 10:31 AM, Jonathan Lundell <[email protected]>wrote: > >> >> On Sep 24, 2009, at 8:27 AM, Jonathan Lundell wrote: >> >> > >> > On Sep 24, 2009, at 7:40 AM, pwoolf wrote: >> > >> >> Thanks for the suggestion Yarko. Here is the script attached. >> > >> > A small correction. I'm doubtful that >> > >> > os.system("cd ~/") >> > >> > will work as you expect, since it's going to change the directory in a >> > child process, and not affect the caller's environment (or the >> > environment of the subsequent child processes). >> > >> > Instead, use >> > >> > os.chdir(os.path.expanduser("~/")) >> >> For similar reasons, this won't work as expected: >> >> os.system("source .bash_profile") >> >> >> Also, you're creating .bash, but sourcing .bash_profile. Is that what >> you intend? Suggestion: bind some of these literal strings to variable >> names so you don't keep repeating them and taking the chance of making >> a mistake. >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

