I use Mercurial but should be basically the same.

First, "hg clone" web2py somewhere on your hardrive.

Then in /applications, create a new app (I usually copy "welcome").

Then "cd" into the new app directory and "git init".

Now your app will be version controlled.

I host some of my projects on Bitbucket (similar to Github but private 
projects are free). In that case, I might create the project on Bitbucket 
and then "hg clone" it to my hard drive.

I don't use any of the git/hg features built in to Web2py.


On Saturday, September 8, 2012 11:23:46 AM UTC-7, Pystar wrote:
>
> I actually meant having a git repository on your local development machine 
> not pushing to github or something similar. How do you use git and web2py? 
>
> On Friday, September 7, 2012 11:46:13 PM UTC+1, Massimo Di Pierro wrote:
>>
>> One of the new features is that in admin you can use a git url to install 
>> a web2py directly from github. You can also push 
>> an app to github. All of this requires python-git.
>>
>> We are working on adding better git/hg features.
>>
>>
>>
>>
>> On Friday, 7 September 2012 17:24:42 UTC-5, Pystar wrote:
>>>
>>> I would like to know how coders here incorporate git or any other VCS 
>>> into their coding workflow with web2py?
>>> Thanks
>>>
>>

-- 



Reply via email to