[Grok-dev] SVN Deployment

Santiago Videla santiago.videla at gmail.com
Tue Mar 3 10:25:54 EST 2009


Hey, I guess that you didn't notice, but you wrote to my email only, you
should use "reply to all"

On Tue, Mar 3, 2009 at 1:10 PM, Hugo Lopes <hltbra at gmail.com> wrote:

> If I'm not wrong, you will need the etc directory (grok <= 1.0a1),
> because the startup.py script need the files inside etc (and it's good
> to change the absolute paths to relative ones into startup.py and etc
> files).
> Take a look at
> http://mail.zope.org/pipermail/grok-dev/2009-February/007421.html
> and go to the all this topic's answers, maybe your answer is there.
>

I'm not sure what you mean. I was trying to follow the steps described by
Tim, but I found that when I checkout the project and execute grokproject to
generate the etc/ folder (not present in svn),  for some reason etc/ it's
added to the version control.

Maybe I'm doing something wrong, here are my steps:

$ grokproject myproj
$ cd myproj
$ rm -fr parts/ bin/ develop-eggs/ etc/ src/myproj.egg-info/
$ cd ..
$ svn add myproj

and now I try to checkout and create the project

$ virtualenv sandbox --no-site-packages
$ cd sandbox/
$ ./bin/easy_install -U setuptools
$ ./bin/easy_install zc.buildout
$ ./bin/easy_install grokproject
$ svn co http://svn.../myproj myproj
$ ./bin/grokproject myproj

After that, etc/ and the files inside, are added to the version control.

Best Regards



>
> On Mon, Mar 2, 2009 at 3:29 PM, Santiago Videla
> <santiago.videla at gmail.com> wrote:
> > Hey
> >
> >>
> >> So I have discovered that you should not put myproj/etc/ in version
> >> control along with myproj/parts/, myproj/bin/
> >> myproj/develop-eggs/ and myproj/src/myproj.egg-info/
> >>
> >> You must keep myproj/versions.cfg, myproj/buildout.cfg and
> >> myproj/setup.py
> >>
> >> Create your project and commit it to version control.
> >>
> >> Now your users/co-developers can do a checkout.
> >> go to the myenv directory and activate their environment
> >>
> >> execute: grokproject myproj
> >>
> >> They will be prompted for an admin user and password.  Then they will be
> >> prompted to see if they want to overwrite app.ppy  The answer should be
> >> 'n' - for no.
> >>
> >> Now cd myproj and execute buildout
> >
> > I tried this, but for some reason that I don't understand, after running
> >
> > $ grokproject myproj
> >
> > `etc`  folder and the files inside, are added to the version control.
> >
> > this doesn't happen with bin/ parts/ or develop-egg/
> >
> > am I missing something?
> >
> > Best Regards
> >
> >
> >>
> >> I hope this works for you.  It seems to be working ok for me.
> >>
> >> --Tim
> >>
> >> PS. I have also added this as a comment on the above referenced Grok
> >> page.
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> --
> >> Timothy Cook, MSc
> >> Health Informatics Research & Development Services
> >> LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
> >> Skype ID == timothy.cook
> >> **************************************************************
> >> *You may get my Public GPG key from  popular keyservers or   *
> >> *from this link http://timothywayne.cook.googlepages.com/home*
> >> **************************************************************
> >>
> >> _______________________________________________
> >> Grok-dev mailing list
> >> Grok-dev at zope.org
> >> http://mail.zope.org/mailman/listinfo/grok-dev
> >>
> >
> >
> >
> > --
> > Santiago Videla
> > www.revolucionesweb.com.ar
> > http://www.linkedin.com/in/svidela
> >
> > Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el
> > pensamiento que se hace corazón resplandece con la palabra sencilla y
> > humilde que l at s tod at s somos.
> >
> > _______________________________________________
> > Grok-dev mailing list
> > Grok-dev at zope.org
> > http://mail.zope.org/mailman/listinfo/grok-dev
> >
> >
>



-- 
Santiago Videla
www.revolucionesweb.com.ar
http://www.linkedin.com/in/svidela

Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el
pensamiento que se hace corazón resplandece con la palabra sencilla y
humilde que l at s tod at s somos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20090303/2314bfc2/attachment.html 


More information about the Grok-dev mailing list