Thanks I think I am finally getting it now.  So for my installation
the prod.cfg should go here:
/usr/lib/python2.4/site-packages/projectname-1.0-py2.4.egg/

I was unclear that i needed to manually copy the file to that location
to get the start script to find it.  I thought setup.py would be
picking it up or something.

I think that is why this has the note: "needs work, how to configure"
http://docs.turbogears.org/1.0/DeployWithAnEgg
because the prod.cfg file is mentioned as required but it never tells
you really where to put it.

-Ian

On 1/19/07, Christopher Arndt <[EMAIL PROTECTED]> wrote:
>
> Ian Wilson schrieb:
> >
> > Well I was just going to put it into a gentoo startup script.  So what
> > is the point of installing start-project or start-project.py in a
> > /usr/bin if you have to run it in a directory containing prod.cfg ?
>
> No, you got that wrong. start-project.py looks for (in that order)
>
> 1. a cfg (full path) file provided on the command line
>
> 2. if "setup.py" exists in the current directory: "dev.cfg" in the current
> directory
>
> 3. else: "prod.cfg" in the current directory
>
> Putting the script in the egg as per the recipe you used, does not change 
> that.
>
> Chris
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to