====== ChiliProject ======
Installation de chiliproject 2.2.1.
===== Installation =====
package.use:
media-gfx/imagemagick gs jpeg png truetype wmf
dev-lang/perl ithread
sys-devel/libperl ithreads
emerge:
emerge bundler imagemagick
emerge passenger mod_perl DBD-SQLite
Pour la suite, suivre la doc d'install : https://www.chiliproject.org/projects/chiliproject/wiki/Installation
===== Apache =====
perl:
cd /usr/lib/perl5/5.12.3/
mkdir Apache
cd Apache
ln -s /opt/chiliproject/extra/svn/Redmine.pm
vhost:
ServerName dev.ceric35.net
CustomLog /var/log/apache2/log_vh_dev.log combined
# maven2
Alias /maven2 /var/lib/maven/maven2
Order allow,deny
Allow from all
Options +Indexes
PassengerEnabled off
# svn access with chili authentification
PerlLoadModule Apache::Redmine
PassengerEnabled off
DAV svn
SVNParentPath /var/lib/svn
DirectorySlash Off
AuthType Basic
AuthName "Subversion repository"
Require valid-user
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
RedmineDSN "DBI:SQLite:dbname=/opt/chiliproject/db/production.db"
RedmineDbUser "redmine"
RedmineDbPass "password"
# git access with chili authentification
Alias /git /var/lib/git
Order allow,deny
Allow from all
Options +Indexes
PassengerEnabled off
Dav on
AuthType Basic
AuthName "Git repository"
Require valid-user
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
RedmineDSN "DBI:SQLite:dbname=/opt/chiliproject/db/production.db"
RedmineDbUser "redmine"
RedmineDbPass "password"
#RedmineGitSmartHttp yes
# chili project
DocumentRoot /opt/chiliproject/public
Options +Indexes
AllowOverride None
Order deny,allow
Allow from all
/etc/conf.d/apache2:
* vérifiez les options ''-D DAV'', ''-D SVN'', ''-D SVN_AUTHZ'', ''-D PERL'' et ''-D PASSENGER''
===== FAQ =====
**svn: COPY de '/svn/sandbox/!svn/bc/42/overlays/trunk': Could not read status line: connection was closed by server (http://dev.ceric35.net)**
ajoutez APACHE_MPMS="prefork" à /etc/make.conf et recompiler apache.
Source : http://www.redmine.org/boards/2/topics/7593