subversion と trac
- 2007年11月1日(木) 17:10 JST
- 投稿者: akira
- 表示回数 117
subvertionとtracの設定について
svnの設定
sudo vi /etc/apache2/mods-enabled/dav_svn.conf
sudo svnadmin create test
sudo mv /root/svnserve.conf .
cd test/conf
sudo vi svnserve.conf
sudo vi passwd
cd ~/work/svn_test/
svn import . http://www.craine.ne.jp/svn/test -m "init repos"
Software Design 2006年 12月 P110
tracの設定 以下を読む
/usr/share/doc/trac-ja-resource$ lv README.ja
$ sudo trac-admin /home/trac/testproject initenv
Creating a new Trac environment at /home/trac/testproject
Trac will first ask a few questions about your environment
in order to initalize and prepare the project database.
Please enter the name of your project.
This name will be used in page titles and descriptions.
Project Name [My Project]> testproject
Please specify the connection string for the database to use.
By default, a local SQLite database is created in the environment
directory. It is also possible to use an already existing
PostgreSQL database (check the Trac documentation for the exact
connection string syntax).
Database connection string [sqlite:db/trac.db]>
Please specify the type of version control system,
By default, it will be svn.
If you don't want to use Trac with version control integration,
choose the default here and don't specify a repository directory.
in the next question.
Repository type [svn]>
Please specify the absolute path to the version control
repository, or leave it blank to use Trac without a repository.
You can also set the repository location later.
Path to repository [/path/to/repos]> /home/projects/test
Please enter location of Trac page templates.
Default is the location of the site-wide templates installed with Trac.
Templates directory [/usr/share/trac/templates]> /usr/share/trac-ja-resource/templates
$
$ sudo trac-admin /home/trac/testproject wiki load /usr/share/trac-ja-resource/wiki-default
$