[Grok-dev] Re: How should I deploy my grok app?

Michael Haubenwallner michael at d2m.at
Fri May 23 06:44:06 EDT 2008

Peter Bengtsson schrieb:
> I've got a grokproject where I've checked in the buildout.cfg,
> setup.py, src/.../* into svn.
> Now, how do I deploy this on the live server?
> I followed this:
> http://grok.zope.org/documentation/how-to/placing-your-grok-project-under-version-control/
> If I check out the project on my production server and run python
> bootstrap.py followed by ./bin/buildout the whole site is run from
> within the SVN tree.
> I don't want that. I don't want my Data.fs to be inside the SVN tree.
> It just doesn't make sense.
> I'm currently thinking of creating a new Grokproject by the same name
> and when it has created a src/name_of_app I'll delete that and replace
> it with a symbolic link to my sources in the SVN tree.
> I'm missing something obvious I fear. How do I install just Grok and
> then put in my sources later?

I'd run a "svn export" [1] on der production server. That creates a 
clean directory tree of the repo or the working copy. Then run bootstrap 
and buildout.


[1] http://svnbook.red-bean.com/en/1.4/svn.ref.svn.c.export.html


More information about the Grok-dev mailing list