[Grok-dev] Creating a new Grok project from svn trunk (1.1dev)

Baiju M mbaiju at zeomega.com
Tue Nov 17 05:20:49 EST 2009


On Tue, Nov 17, 2009 at 2:50 PM, Jan-Wijbrand Kolman
<janwijbrand at gmail.com> wrote:
> Baiju M wrote:
>>    I was trying grok from trunk.  Can anyone please confirm whether
>> these steps are fine ? I know a new alpha release is coming up,
>> looking forward to that release :)
>>
>> 1. Install Python 2.6
>>
>> 2. Checkout grok trunk version from svn
>>
>>    svn co svn://svn.zope.org/repos/main/grok/trunk grok_trunk
>>
>> 3. Checkout grokproject
>>
>>    svn co svn://svn.zope.org/repos/main/grokproject/trunk grokproject
>>
>> 4. Run bootstrap.py
>>
>>    cd grokproject
>>    python2.6 bootstrap/bootstrap.py
>>
>> 5. Run buildout
>>
>>    ./bin/buildout
>>
>> 6. Create a new project
>>
>>    ./grokproject/bin/grokproject sampleproject
>>
>>    (This step failed with a VersionConflict for setuptools)
>>
>> 7. Copy versions.cfg from grok_trunk to sampleproject
>>
>>    cp grok_trunk/versions.cfg sampleproject
>>
>> 8. Update buildout.cfg and add grok checkout location to develop option
>>
>>    [buildout]
>>    develop = .
>>              ../grok_trunk
>>
>> 9. Also comment eggbasket part.
>>
>> 10. Run buildout
>>
>>     ./bin/buildout
>>
>> 11. Run application
>>
>>     ./bin/sampleproject-ctl fg
>
> On first sight this sounds ok (after alpha release trying grok gets
> easier as the grokproject has an option to install a non-default grok
> version).
>
> I noticed the version conflict for setuptools too. I had to install,
> myself, the latest setuptools in my python environment that I use for
> developing grok (a being virtualenv 2.6 with --no-site-packages).
>
> Is there anything specific going wrong in your case?

Actually it worked fine for me other than the conflict error.
But I ignored that and proceeded with the other steps.

Thanks,
Baiju M


More information about the Grok-dev mailing list