Luke Maslany wrote:
And so now I’m at Trac. I was hoping to keep the separation of applications and data but I’m not clear on how Trac installs.

By default trac installs to the Python site-packages directory

If I understand this correctly, and there is a **very** good chance that I don’t, then if the Trac installation is at E:\source.files\trac-0.9.5 then, assuming the Trac installation is my working folder, running:

E:\programs\python\python ./setup.py install --prefix=E:/programs/trac

It appears that you have python installed in E:\programs\python. This means that if you install trac, without the --prefix=.... then it will install to:

E:\programs\python\Lib\site-packages\trac

and you can find the extra files in E:\programs\python\share\trac and the trac-admin and tracd scripts in E:\programs\python\Scripts

I would HIGHLY recommend keeping it this way. It is possible to have it install to a different directory, but it appears that you'll be in for a lot of pain.

Are the folders cgi-bin, templates, htdocs, wiki-default and wiki-macros to be published by Apache? What permissions are needed on each folder?

Define published? The need not be located anywhere in the document root. Apache should have read permissions to all of the above folders, and apache should have read/write permissions to your trac environment (the one that you'll create by saying:

E:\programs\python\python E:\programs\python\Scripts\trac-admin E:\data\trac_env initenv

ignoring the line break, of course)

Is there any way to get the folders cgi-bin, templates, htdocs, wiki-default and wiki-macros to be installed to E:\data\trac\root?

You don't want to.

-John
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to