Changes between Version 2 and Version 3 of TracAdmin
- Timestamp:
- Apr 16, 2016, 7:07:21 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracAdmin
v2 v3 1 = TracAdmin = 1 = TracAdmin 2 2 3 [[PageOutline(2-5, Contents, floated)]] 3 4 [[TracGuideToc]] … … 5 6 Trac is distributed with a powerful command-line configuration tool. This tool can be used to configure and customize your Trac-installation to better fit your needs. 6 7 7 Some of those operations can also be performed via the [trac:WebAdmin] interface.8 Some of those operations can also be performed via the web administration module. 8 9 9 == Usage ==10 == Usage 10 11 11 12 For nearly every `trac-admin` command, you'll need to specify the path to the TracEnvironment that you want to administer as the first argument, for example: … … 39 40 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. 40 41 41 == Interactive Mode ==42 == Interactive Mode 42 43 43 44 When passing the environment path as the only argument, `trac-admin` starts in interactive mode. … … 57 58 }}} 58 59 59 == Full Command Reference ==60 == Full Command Reference 60 61 61 62 You'll find below the detailed help for all the commands available by default in `trac-admin`. Note that this may not match the list given by `trac-admin <yourenv> help`, as the commands pertaining to components disabled in that environment won't be available and conversely some plugins activated in the environment can add their own commands.