Changes between Version 22 and Version 23 of TracLegosScript


Ignore:
Timestamp:
Sep 19, 2008, 6:14:14 PM (6 years ago)
Author:
k0s
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracLegosScript

    v22 v23  
    8080Point your browser at http://127.0.0.1:8080 and you should be all set with a bare-bones web-based trac project creator.
    8181
     82== Site Configuration ==
    8283
    83 == Example ==
     84!TracLegos is designed so that site-specific configuration does not need to (and really shouldn't) live in the templates but can live in its own {{{.ini}}} file.  The advantages of this is that templates from XYZcorp can be shared with ABCcorp without modification but that a policy for trac project creation can be effectively enforced as well as having the convenience of domain-specific variables by using a site configuration {{{.ini}}} file (or files).
     85
     86Variables are currently supported in a site configuration file.  See source:traclegosscript/anyrelease/example/site_example.ini for the format of this file.  Using the command line, site configuration {{{.ini}}} files are specified with the `-c` option:
     87
     88{{{
     89create-trac-project -c example/site_example.ini ...
     90}}}
     91
     92Configuration files may also be specified for the web front-end ''(not yet implemented! see #3761)''.  To use this, add the following option to the {{{.ini}}} file specified for `paster serve`:
     93
     94{{{
     95traclegos.conf = /path/to/site_example.ini, /path/to/myorganization.ini
     96}}}
     97
     98
     99== Examples ==
    84100
    85101=== Example of through the web project creation ===