On Wednesday, November 25, 2015 at 10:43:41 AM UTC-8, Brian Craft wrote: > > Just looking at web2py for the first time, and I'm not sure what to do > with it: can't manage it with pip, and app code is edited in-place with the > web2py code? I was expecting to be able to install & manage web2py with > standard python tools & manage my app code separately, in its own repo. > > How do you do it? Commit all the web2py code to your repo? Write ad hoc > scripts to merge your code with the web2py code? And if the latter, what is > the workflow? E.g. how do you develop & then commit your changes & deploy? >
The app code is self-contained in a sub-directory of web2py. As I'm a Mercurial geek, I maintain an hg repo in that subdirectory, and clone the repo to a backup machine. I do some editing with the appadmin editor, and some with emacs (as suits the moment). I have a development machine and a "production" machine (both are machines are for lab use, hence the quote-marks), and have been using Fabric (www.fabfile.org) as a deployment tool. (Grownups might prefer Chef or Salt or ....) /dps -- 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.

