On Monday, October 21, 2013 12:15:05 PM UTC-7, User wrote:
>
> I have cloned the web2py mercurial repository and hg updated to R-2.7.4.  
> I'm using TortoiseHg on windows.  Now when I want to create a new 
> application based on the welcome app how should I go about doing this? what 
> is the normal workflow for this?  I'm guessing the idea is that I would 
> create a new repository for each of my apps.
>  
> Can I still use the admin to create apps? Do I just manually copy the 
> welcome app and then hg init inside of it?
>  
>

I believe you can do that, but the main admin app (reached via the "site" 
button on the Navbar, for instance) has a button for doing the copying for 
you.  This workflow is discussed in the Overview chapter of the book:
<http://www.web2py.com/books/default/chapter/29/03/overview#Say-hello>

Also, Web2py should detect your THG installation, and use the mercurial for 
it.  When you're in the admin view for your app, a "Versioning" button will 
show on the Navbar.  The page that takes you to is a simple wrapper for 
Mercurial; it will create a repository and allow you to commit, and show 
the commit history. If you only are doing linear development (in the Hg/THG 
sense of linear), then you don't need anything else, but you can point your 
THG browser to those repositories or use command line stuff if you need 
more power-user support.

I'm still fairly new to Web2py, but the book and this forum have made me 
successful in setting up a simple service and some pages to display results 
and summaries.  It's worth working through the first couple of examples, 
and when you're comfortable with those launching into your project. 
 (Mercurial isn't part of the tutorial sessions, though, but you can use it 
with them.)


/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/groups/opt_out.

Reply via email to