How to convert Trac to multi-project on Windows

11 views
Skip to first unread message

Ary Alva

unread,
Dec 3, 2010, 12:56:16 PM12/3/10
to Trac Users
Hello,

Couple of month ago I installed Trac on Windows following this guide:
http://how-to-solutions.com/how-to-install-trac-on-windows.html

Everything worked well and I was using Trac since with a single
project, which was originally installed.

Now I need to convert this installation to a multi-project environment
and I am not sure which instructions to follow.

Here's my info:
Trac 0.12
Genshi 0.6
GIT 1.7.0.2.msysgit.0
pysqlite 2.3.2
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit
(Intel)]
setuptools 0.6c11
SQLite 3.3.4
Subversion 1.6.6 (r40053)
jQuery: 1.4.2
OS: Vista Home Premium 64-bit

Appreciate your help!
Ary

Nicole

unread,
Dec 9, 2010, 5:58:06 PM12/9/10
to Trac Users
Hi Ary,

You just need to create another environment, like you did when you did
the initial install. Refer to the TracEnvironment documentation at:
http://trac.edgewall.org/wiki/0.12/TracEnvironment. If you set up
your first project/environment under C:\trac\project1 then you'd
create your next one something like:

$ trac-admin C:\trac\project2 initenv

Configure it as you did your first environment. If you're using the
tracd standalone server, then you should see links to both when you
browse to the base of your trac server (e.g. http://localhost:8000).

--Nicole

ary alva

unread,
Dec 9, 2010, 7:35:58 PM12/9/10
to trac-...@googlegroups.com

Hi Nicole,

 

Thanks for replying to my question.

I followed your suggestion and got new project running – that’s already a progress J

The only problem is that I cannot see the old project and the new project running on the same port. My old project is running on port 8000. When I point the browser to http://localhost:8000 only my old project is listed.

I can see my new project only if I run tracd on a port different from 8000 (like 8001). Then if I point my browser to http://localhost:8001 I can see only my new project.

Is there any way to have both projects running on the same port?

 

Thanks!

 

Ary

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-...@googlegroups.com.
To unsubscribe from this group, send email to trac-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.


No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1170 / Virus Database: 426/3305 - Release Date: 12/09/10

bas.h...@gmail.com

unread,
Dec 10, 2010, 12:23:50 AM12/10/10
to ary alva, trac-...@googlegroups.com
Ary,

Please check tracd -h for some help with the options to run Trac.
You need the -e option to run multiple Trac instances from one tracd:
tracd -e c:\Trac\
when using the example of Nicole below.

Bas


----- Reply message -----
Van: "ary alva" <ary....@gmail.com>
Datum: vr, dec. 10, 2010 01:35
Onderwerp: [Trac] Re: How to convert Trac to multi-project on Windows
Aan: <trac-...@googlegroups.com>

Hi Nicole,



Thanks for replying to my question.

I followed your suggestion and got new project running - that's already a
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1170 / Virus Database: 426/3305 - Release Date: 12/09/10

Nicole

unread,
Dec 10, 2010, 11:02:56 AM12/10/10
to Trac Users
Hi Ary,

Bas is correct you need to tell it to serve multiple projects - it's
been so long since I set up my system, I'd forgotten this. See the
TracStandalone documentation at http://trac.edgewall.org/wiki/TracStandalone.

--Nicole

On Dec 9, 10:23 pm, "bas.hop...@gmail.com" <bas.hop...@gmail.com>
wrote:
> Ary,
>
> Please check tracd -h for some help with the options to run Trac.
> You need the -e option to run multiple Trac instances from one tracd:
>  tracd -e c:\Trac\
> when using the example of Nicole below.
>
> Bas
>
> ----- Reply message -----
> Van: "ary alva" <ary.a...@gmail.com>
> Datum: vr, dec. 10, 2010 01:35
> Onderwerp: [Trac] Re: How to convert Trac to multi-project on Windows
> Aan: <trac-...@googlegroups.com>
>
> Hi Nicole,
>
> Thanks for replying to my question.
>
> I followed your suggestion and got new project running - that's already a
> progress J
>
> The only problem is that I cannot see the old project and the new project
> running on the same port. My old project is running on port 8000. When I
> point the browser tohttp://localhost:8000only my old project is listed.
>
> I can see my new project only if I run tracd on a port different from 8000
> (like 8001). Then if I point my browser tohttp://localhost:8001I can see
> only my new project.
>
> Is there any way to have both projects running on the same port?
>
> Thanks!
>
> Ary
>
> From: trac-...@googlegroups.com [mailto:trac-...@googlegroups.com] On
> Behalf Of Nicole
> Sent: Thursday, December 09, 2010 5:58 PM
> To: Trac Users
> Subject: [Trac] Re: How to convert Trac to multi-project on Windows
>
> Hi Ary,
>
> You just need to create another environment, like you did when you did
> the initial install.  Refer to the TracEnvironment documentation at:http://trac.edgewall.org/wiki/0.12/TracEnvironment.  If you set up
> your first project/environment under C:\trac\project1 then you'd
> create your next one something like:
>
> $ trac-admin C:\trac\project2 initenv
>
> Configure it as you did your first environment.  If you're using the
> tracd standalone server, then you should see links to both when you
> browse to the base of your trac server (e.g.http://localhost:8000).
> For more options, visit this group athttp://groups.google.com/group/trac-users?hl=en.

ary alva

unread,
Dec 15, 2010, 2:33:06 PM12/15/10
to bas.h...@gmail.com, trac-...@googlegroups.com

Hi Bas and Hi Nicole,

 

I followed your suggestions and also updated windows service which starts Trac automatically with the same –e option.

My Trac works in multi-project mode now!

 

Thanks a million for your help!

Ary

bas.h...@gmail.com

unread,
Dec 15, 2010, 6:27:59 PM12/15/10
to trac-...@googlegroups.com
Away nice to hear we could be of help. You're welcome.
Reply all
Reply to author
Forward
0 new messages