I've recently begun looking at web2py.  It looks very nice.  However, one 
thing that seems strange to me is that it is apparently not set up to be 
installed.  Rather, to "install" it you just copy the web2py files (or 
clone the repo) into a directory.  That install then "knows" about all the 
applications stored under its directory tree.

This seems like a rather odd setup.  With this setup, my application is 
stored under the web2py directory tree.  But I want to put my application 
code in its own directory --- in particular, in its own repository.  My 
application's code should be handled separately from the code of web2py 
itself.

Also, it's not clear to me how I would then deploy my application without 
also "installing" web2py separately for each app.  So, if I want to copy 
some files to my web server to run an app, I would expect to install web2py 
ONCE to the server, and then set up my app to use the existing web2py 
installation.  But with the way it's actually set up, it appears I would 
have to install separate copies of web2py for each app, which seems rather 
wasteful.

I found an old post 
(https://groups.google.com/forum/#!topic/web2py/3FWZCmLzhzc) where someone 
talks about handling this by symlinking from the web2py directory to the 
"real" app directory.  Is this really the way you have to do it?  Isn't 
there a way to take JUST my own application code, and tell it where to find 
web2py (or tell web2py where to find my app), and then get web2py to run my 
app regardless of where they each are on the drive?  I want a clean 
separation between the code that is part of the web2py framework itself and 
the code that is specific to my app.

Thanks,
Brendan

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to