User Tools

Site Tools


tutorials:redmine_svn_integration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:redmine_svn_integration [2009/10/25 23:22]
razvan
tutorials:redmine_svn_integration [2009/10/26 14:32]
razvan added repo register command
Line 51: Line 51:
 * Add the following lines to the Apache2 site configuration file<code> * Add the following lines to the Apache2 site configuration file<code>
  PerlLoadModule Apache::Redmine  PerlLoadModule Apache::Redmine
- <Location /redmine/svn>+ <Location /svn/redmine>
  DAV svn  DAV svn
  SVNParentPath "/var/svn/redmine"   SVNParentPath "/var/svn/redmine" 
Line 71: Line 71:
  
 Replace {{{databasename}}}, {{{my.db.server}}}, {{{"redmine"}}} and {{{"password"}}} with valid data. Replace {{{databasename}}}, {{{my.db.server}}}, {{{"redmine"}}} and {{{"password"}}} with valid data.
 +
 +== Git integration ==
 +
 +=== Prepare ===
 +
 +* Enable {{{dav_fs}}} module<code>
 +a2enmod dav_fs
 +</code>
 +* Register repositories in Apache2<code>
 +./reposman.rb -s /var/git/redmine/ --owner www-data -r http://koala.cs.pub.ro/redmine -u http://koala.cs.pub.ro/git/redmine --scm git -f
 +</code>
 +* Add the following lines to the Apache2 site configuration file<code>
 + Alias /git/redmine /var/git/redmine/
 + <Location /git/redmine>
 + DAV on
 +
 + AuthType Basic
 + AuthName git-redmine
 + Require valid-user
 +
 + PerlAccessHandler Apache::Authn::Redmine::access_handler
 + PerlAuthenHandler Apache::Authn::Redmine::authen_handler
 +
 + ## for mysql
 + RedmineDSN "DBI:mysql:database=koala_redmine;host=localhost"
 +
 + RedmineDbUser "koala_redmine"
 + RedmineDbPass "ohnameotae"
 + </Location>
 +</code>
tutorials/redmine_svn_integration.txt · Last modified: 2020/07/20 09:16 (external edit)