codepot/codepot
2015-03-03 07:08:45 +00:00
..
ac included datarootdir reference to configure.ac 2015-02-16 12:38:13 +00:00
DEBIAN included datarootdir reference to configure.ac 2015-02-16 12:38:13 +00:00
etc included datarootdir reference to configure.ac 2015-02-16 12:38:13 +00:00
sbin included datarootdir reference to configure.ac 2015-02-16 12:38:13 +00:00
src specified order_by in FileMode::getAll 2015-03-03 07:08:45 +00:00
aclocal.m4 included datarootdir reference to configure.ac 2015-02-16 12:38:13 +00:00
codepot.spec.in added a single file CLOC support 2015-02-05 13:12:37 +00:00
config.guess added config.guess and config.sub 2010-04-07 12:18:57 +00:00
config.h.in enhanced the commits-per-month graph 2015-02-08 05:00:19 +00:00
config.sub added config.guess and config.sub 2010-04-07 12:18:57 +00:00
configure included datarootdir reference to configure.ac 2015-02-16 12:38:13 +00:00
configure.ac included datarootdir reference to configure.ac 2015-02-16 12:38:13 +00:00
Makefile.am changed how to carry around project members 2014-06-24 13:52:05 +00:00
Makefile.in included datarootdir reference to configure.ac 2015-02-16 12:38:13 +00:00
mkmf.sh initial commit 2010-01-24 14:34:03 +00:00
README changed to generate commit-per-month graph using chart.js 2015-02-10 13:24:22 +00:00

CODEPOT

 Codepot is a simple web-based source code manager. It incorporates the
 subversion revision control system and wiki-based documentation, and supports
 authentication via LDAP.

INSTALLATION

 An RPM package is provided for RedHat/CentOS Linux. The RPM package specifies
 dependency which must met prior to or at the same time as the installation of
 the rpm package. 

   rpm -ivh codepot-X.X.X-X.noarch.rpm

 You can use the yum utility to be hassle-free instead.

   yum localinstall --nogpgcheck codepot-X.X.X-X.noarch.rpm

 You should perform the following tasks after the RPM installation.

   * Initialize the mysql database using /etc/codepot/codepot.mysql.
   * Add the following switch to /etc/httpd/conf.d/perl.conf
      PerlSwitches -Mlib=/etc/codepot/perl
   * Configure /etc/httpd/conf.d/codepot.conf
   * Configure /etc/codepot/codepot.ini
   * Restart httpd
   
 Here is how to install Codepot into the standard locations under Ubuntu Linux.

 * Install required packages.
   $ sudo apt-get install subversion
   $ sudo apt-get install apache2-mpm-prefork
   $ sudo apt-get install libapache2-svn
   $ sudo apt-get install libapache2-mod-auth-mysql # optional
   $ sudo apt-get install php5 php5-ldap php5-mysql
   $ sudo apt-get install php5-svn # if available

 * Install the mysql server if you want to store projects in a local mysql 
   database.
   $ sudo apt-get install mysql-server

 * Install the openldap server if you want to use a local LDAP server.
   $ sudo apt-get install slapd

 * Enable the apache server modules
   $ sudo a2enmod php5
   $ sudo a2enmod authnz_ldap # enable ldap-based authentication
   $ sudo a2enmod dav_svn
   $ sudo a2enmod userdir # to enable $HOME/public_html
   $ sudo /etc/init.d/apache2 restart

 * Install source code
   $ ./configure \
        --with-wwwdir=/var/www/codepot \
        --with-cfgdir=/etc/codepot \
        --with-depotdir=/var/lib/codepot \
        --with-logdir=/var/log/codepot \
        --with-cachedir=/var/cache/codepot
   $ make install
   $ mkdir -p /var/lib/codepot/svnrepo /var/lib/codepot/files
   $ mkdir -p /var/cache/codepot /var/log/codepot
  
 * Customize CFGDIR/codepot.ini 

 * Initialize database using CFGDIR/codepot.mysql

 * Configure apache web server authentication for subversion webdav access 
   based on CFGDIR/codepot.httpd 

 * To enable SSL 
   $ sudo a2enmod ssl 
   $ sudo a2ensite default-ssl
   $ sudo hostname actual.domain.name
   $ sudo make-ssl-cert generate-default-snakeoil --force-overwrite
   $ sudo hostname ${HOSTNAME}
   $ sudo /etc/init.d/apache2 restart
 
   Note that make-ssl-cert is provided by the ssl-cert package.

LICENSE

 This software is licensed under the GNU General Public License.

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

 This software contains the following third-party components.

   ------------------------------------------------------------------------
   Name                                         License
   ------------------------------------------------------------------------
   CodeIgniter 1.7.2                            See src/system/license.txt
   Google code prettify                         Apache License 2.0
   JavaScript Creole 1.0 Wiki Markup Parser     See src/js/creole.js
   jQuery JavaScript Library v1.4.2             See http://jquery.org/license
   jQuery UI 1.8                                MIT or GPL
   PHPGraphLib                                  MIT
   CLOC 1.62                                    GPL
   Chart.js                                     MIT
   ------------------------------------------------------------------------