best way to put my product on my production server

5 messages Options
Embed this post
Permalink
anorakgirl () best way to put my product on my production server
Reply Threaded More More options
Print post
Permalink
Hi,
Sorry if this is a simple question. I'm still new to all the terminology, so although I've searched the documentation I'm finding it hard to pull out the bits I need.

I have made a new archtype based product, using paster. I answered Yes about making a Zope 2 product. It contains a content type and a portlet. I've been developing it on my PC. The files are in src and I put it in buildout.cfg under develop  as well as in eggs and zcml for the instance. This all worked fine.

Now I'm happy with it, and I want to put it on our production server. I don't want to package it up to share (yet - may do when it is more advanced) but I'm not sure where to put it. I assume I don't want it in src.

I tried putting it in products but not sure what to put in buildout.cfg. Is this the right approach and I should persevere, or can someone point me in the right direction?

Thanks!
Karl Johan Kleist () Re: best way to put my product on my production server
Reply Threaded More More options
Print post
Permalink

Maybe keeping it in "src" isn't 100% koscher, but if you're small shop: why not?

I'm sometimes doing that, checking out from a subversion repository. Somewhat sloppy, yes maybe. But not every production environment needs formal release procedures.

anorakgirl wrote:
I have made a new archtype based product, using paster. I answered Yes about making a Zope 2 product. It contains a content type and a portlet. I've been developing it on my PC. The files are in src and I put it in buildout.cfg under develop  as well as in eggs and zcml for the instance. This all worked fine.

Now I'm happy with it, and I want to put it on our production server. I don't want to package it up to share (yet - may do when it is more advanced) but I'm not sure where to put it. I assume I don't want it in src.
anorakgirl () Re: best way to put my product on my production server
Reply Threaded More More options
Print post
Permalink
Hi,

Thanks for that - I had just assumed there were some performance implications keeping it in src, is that not true?

Tamsin
Martin Aspeli () Re: best way to put my product on my production server
Reply Threaded More More options
Print post
Permalink
anorakgirl wrote:
> Hi,
>
> Thanks for that - I had just assumed there were some performance
> implications keeping it in src, is that not true?

Definitely not. I always keep my custom products in src/ and manage the
builds using tags in Subversion. Some people make internal egg releases,
but it's overkill for most.

Martin

--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
anorakgirl () Re: best way to put my product on my production server
Reply Threaded More More options
Print post
Permalink
Great, thanks for confirming!
Tamsin