Edgewall Software

Changes between Version 27 and Version 28 of TracAdmin


Ignore:
Timestamp:
May 5, 2008, 8:49:42 AM (16 years ago)
Author:
weekeat@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracAdmin

    v27 v28  
    4444The `initenv` also supports an extra `--inherit` option, which can be used to specify the `[inherit] file` option at environment creation time so that only the options ''not'' already specified in the global configuration file will be written in the conf/trac.ini file of the newly created environment.
    4545See TracIni#GlobalConfiguration.
     46
     47The latest version of Trac initenv also has an extra argument `<templatepath>`, which points to the `templates` folder. If you are using the one-liner '`trac-admin /path/to/trac/ initenv <projectname> <db> <repostype> <repospath>`' in the above and getting an error that reads `Wrong number of arguments to initenv: 4`, then this is most likely because of the the missing `<templatepath>`. The correct command arguments are:
     48{{{
     49trac-admin /path/to/trac initenv <projectname> <db> <repostype> <repospath> <templatepath>
     50}}}
     51
    4652----
    4753See also: TracGuide, TracBackup, TracPermissions, TracEnvironment, TracIni, TracMigrate