「Trac iniadminのインストール」の版間の差分
提供: Wikiducca
(→インストール) |
|||
行28: | 行28: | ||
# python setup.py bdist_egg | # python setup.py bdist_egg | ||
# cd dist | # cd dist | ||
− | # easy_install -Z IniAdmin- | + | # easy_install -Z IniAdmin-*.egg |
</pre> | </pre> | ||
− | |||
= trac.conf 編集 = | = trac.conf 編集 = |
2013年3月5日 (火) 10:52時点における版
Trac iniadmin とは
trac.ini をブラウザから編集できるようにするプラグイン
easy_install でもエラーなくインストールできるのだが、日本語版 Trac を使っている場合、
UnicodeDecodeError になってしまう。
そのため、パッチをあててからインストールする必要がある。
ダウンロード・展開
# cd /usr/local/src # wget -O iniadminplugin_0.11.zip 'http://trac-hacks.org/changeset/latest/iniadminplugin/0.11?old_path=/&filename=iniadminplugin/0.11&format=zip' # unzip iniadminplugin_0.11.zip
パッチ適用
# cd ./iniadminplugin/0.11/ # wget -O nonasciidoc-0.11_r3915.patch 'http://trac-hacks.org/attachment/ticket/4179/nonasciidoc-0.11_r3915.patch?format=raw' # patch -p0 < ./nonasciidoc-0.11_r3915.patch
インストール
# python setup.py bdist_egg # cd dist # easy_install -Z IniAdmin-*.egg
trac.conf 編集
/home/trac/repos/[repo_name]/conf/trac.conf に以下を追記する。
[components] iniadmin.iniadmin.iniadminplugin = enabled