Fangman, Patricia M (Shelly) wrote:
>
> I'd love some advice on how to create a template of an entire Trac 
> site.  For example, I want to create a new Trac site, add my 
> customizations (style, fields, etc) and use this as a template to 
> create my new future Trac sites.  The idea is not to have to customize 
> each new Trac site, everything is in place from the beginning. 
>
> Any ideas?
>
For our modest needs, I
- created a trac site to serve as the template.
- Configure permissions, plugins, etc.
- use trac-admin hotcopy to make backups of the "template" whenever a 
change is made (we're using sqlite, so that includes the database).
- use a python script to copy the backup into our trac projects 
directory with a new name.
- same script changes some config parameters using the trac config API.

We make use of the inherits config section as well.
[inherit]
file = c:\Python25\share\trac\conf\trac.ini
plugins_dir = c:\Python25\share\trac\plugins
templates_dir = c:\Python25\share\trac\templates

As you can tell it's on windows.

HTH,

Ted

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to