RjOllos <
ry...@physiosonics.com> writes:
> On Tuesday, June 19, 2012 10:35:33 AM UTC-7, wayne marsh wrote:
>
> Is this something like what is normally done? Where do most people put their Trac
> environement folder? Everywhere I looked it was some arbitrary path like the TracGuide /path
> /to/project. I'm just using for best/most common practices, nothing fancy.
>
> /var/trac/$TRAC_ENV and /var/svn/$PROJ are what I've used, and I think it's fairly common.
I've been using
/srv/projects/$PROJECT/
/srv/projects/$PROJECT/apache.conf # web server configuration snippet
/srv/projects/$PROJECT/trac/ # trac environment
/srv/projects/$PROJECT/svn/
for a site that serves multiple projects in a multi-env setup. Each
project has *all* of its data in that directory. The svn repositories
are made available via symlinks, like so:
/srv/repositories/svn/$PROJECT -> /srv/projects/$PROJECT/svn
and the apache.conf snippets for active projects are all included in the
web server's config. Project admins can *not* modify these, BTW.
BTW, the /srv/ directory is documented in the File Hierarchy Standard
(FHS)[1], but I don't know whether the BSDs pay any attention to that.
[1]
http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM
Hope this helps,
--
Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962 Help support software freedom
http://www.fsf.org/jf?referrer=1962