Edgewall Software

Changes between Version 36 and Version 37 of TracAdmin


Ignore:
Timestamp:
Jun 12, 2010, 4:07:57 PM (14 years ago)
Author:
Christian Boos
Comment:

#initenv: move former note at the bottom of the page on initenv into its own subsection

Legend:

Unmodified
Added
Removed
Modified
  • TracAdmin

    v36 v37  
    1717trac-admin /path/to/projenv wiki list
    1818}}}
     19
     20=== Creating an Environment === #initenv
     21
     22The `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.
     23See TracIni#GlobalConfiguration.
     24
     25Note that in version 0.11 of Trac, `initenv` lost an extra last argument `<templatepath>`, which was used in previous versions to point 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 because you're using a `trac-admin` script from an '''older''' version of Trac.
    1926
    2027== Interactive Mode ==
     
    4047[[TracAdminHelp()]]
    4148
    42 
    43 === Notes ===
    44 
    45 The `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.
    46 See TracIni#GlobalConfiguration.
    47 
    48 Note that in version 0.11 of Trac, `initenv` lost an extra last argument `<templatepath>`, which was used in previous versions to point 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 because you're using a `trac-admin` script from an '''older''' version of Trac.
    49 
    5049----
    5150See also: TracGuide, TracBackup, TracPermissions, TracEnvironment, TracIni, [trac:TracMigrate TracMigrate]