Changes between Version 1 and Version 2 of TracAdmin
- Timestamp:
- Jun 21, 2008, 6:11:58 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracAdmin
v1 v2 1 = 管理ツール=1 = TracAdmin = 2 2 [[TracGuideToc]] 3 3 4 Trac は強力なコマンドラインの管理ツールとともに配布されています。このツールで Trac を管理/設定し、インストールを用途に合わせてカスタマイズすることができます。4 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. 5 5 6 オプショナルの [http://trac.edgewall.org/wiki/WebAdmin WebAdmin] プラグインのおかげで、trac-admin で行う操作の中のいくつかは web インタフェースで設定できます。今のところは Trac 本体とは別に配布されています。 6 Some of those operations can also be performed via the web interface thanks to the optional [http://trac.edgewall.org/wiki/WebAdmin WebAdmin] plugin, distributed separately for now. 7 7 8 == 使い方==8 == Usage == 9 9 10 `trac-admin` コマンドを `help` オプションつきで起動することによって、利用できるコマンド/サブコマンドの分かりやすいオプションリストを見ることができます:10 You can get a comprehensive list of the available options, commands and sub-commands by invoking `trac-admin` with the `help` command: 11 11 {{{ 12 12 trac-admin help 13 13 }}} 14 14 15 `help`, `about`, `version` のサブコマンドを実行しないならば、第1引数に管理したい TracEnvironment へのパスを指定する必要があります。例えば:15 Unless you're executing the `help`, `about` or `version` sub-commands, you'll need to specify the path to the TracEnvironment that you want to administer as the first argument, for example: 16 16 {{{ 17 17 trac-admin /path/to/projenv wiki list 18 18 }}} 19 19 20 == 対話モード==20 == Interactive Mode == 21 21 22 `trac-admin` は TracEnvironment のパスだけを引数に指定して起動した場合、対話モードになります。 23 プロンプトから入力したコマンドは指定した TracEnvironment に対して実行します。 24 コマンドを Tab キーで補完する機能と、最後に実行したコマンドを繰り返す機能が提供されます (非 Windows 環境の場合、 Python が `readline` モジュールを使用できる必要があります) 。 22 When passing the environment path as the only argument, `trac-admin` starts in interactive mode. 23 Commands can then be executed on the selected environment using the prompt, which offers tab-completion 24 (on non-Windows environments, and when the Python `readline` module is available) and automatic repetition of the last command issued. 25 25 26 一度対話モードで起動すると、特定のコマンドのヘルプやコマンドのサブセットを見ることができます:26 Once you're in interactive mode, you can also get help on specific commands or subsets of commands: 27 27 28 例えば、 `resync` コマンドの説明を得るためには以下のように実行します:28 For example, to get an explanation of the `resync` command, run: 29 29 {{{ 30 30 > help resync 31 31 }}} 32 32 33 Wiki に関するすべてのコマンドのヘルプを得るためには以下のように実行します:33 To get help on a all the Wiki-related commands, run: 34 34 {{{ 35 35 > help wiki