Does that mean it will use "other_web2py" routes.py and the like?
-Thadeus On Thu, Apr 8, 2010 at 1:18 AM, mdipierro <[email protected]> wrote: > here is how it works now (its was more convoluted before) > > web2py must find gluon folder in path. > it also expects to find applications/ in os.environ['web2py_path'] or > in os.getcwd(). > > -f path sets os.environ['web2py_path'] = path > > Massimo > > On Apr 8, 12:17 am, mdipierro <[email protected]> wrote: >> I only took a quick look and I think I fixed it but please take a >> second look. >> >> The syntax is: >> >> -f /home/another_web2py >> >> Massimo >> >> On Apr 7, 11:30 pm, Iceberg <[email protected]> wrote: >> >> > Thanks in advance! And after that, please come back and confirm which >> > folder is needed for this option, is it >> > -f /home/another_web2py >> > or >> > -f /home/another_web2py/applications >> >> > -iceberg >> >> > On Apr8, 10:33am, mdipierro <[email protected]> wrote: >> >> > > It should do what you expect but it is possible it is broken since >> > > nobody uses it. I will take a look. >> >> > > massimo >> >> > > > > On Wed, Apr 7, 2010 at 10:44 AM, Iceberg <[email protected]> wrote: >> > > > > > Hi, do you pals know when and how to use command line option -f >> > > > > > FOLDER? I hope to hear some experience. >> >> > > > > > My major web2py develop environment used to be a web2py source >> > > > > > version >> > > > > > freshly from latest trunk, on Windows XP, but without win32 >> > > > > > extention >> > > > > > (why bothers). But today I have to use a web2py windows binary >> > > > > > version >> > > > > > as a workaround due to the cron feature. Detail is available here: >> > > > > >https://groups.google.com/group/web2py/browse_frm/thread/7d577b75534f... >> >> > > > > > So it seems my apps must be duplicated for the two web2py version >> > > > > > home >> > > > > > folder. But that is inconvenient to maintain. Therefore I am >> > > > > > looking >> > > > > > for a way to let the two (or more) copies of web2py share same >> > > > > > applications folder. On windows, we don't have "ln -s". But web2py >> > > > > > looks like having builtin solution. >> >> > > > > > -f FOLDER, --folder=FOLDER >> > > > > > folder from which to run web2py >> >> > > > > > However, even I start web2py like this: >> > > > > > C:\> cd \my\first\web2py >> > > > > > C:\> web2py.py -a1 -f C:\my\another\web2py >> > > > > > the web2py starts, serves, but still only hosting apps under the >> > > > > > "\my >> > > > > > \first\web2py\applications", not those under "\my\another\web2py >> > > > > > \applications". >> >> > > > > > So, is -f FOLDER supposed to do what I want? >> >> > > > > > Regards, >> > > > > > Iceberg > > -- > 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. > > -- 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.

