codepot/codepot
2015-02-02 02:36:34 +00:00
..
ac incremented the version number to 0.1.2 and rewrote the start-commit script in perl 2014-05-16 03:18:22 +00:00
DEBIAN incremented the version number to 0.1.2 and rewrote the start-commit script in perl 2014-05-16 03:18:22 +00:00
etc added the defintion of the new code_review table in codepot.mysql 2015-01-29 13:48:35 +00:00
sbin added the codepot-user script and touched up AccessHandler.pm 2014-05-17 16:22:56 +00:00
src added a codeBlock tag to creole and changed wiki-show and project-home pages to use prettify to render the codeBlock regiion 2015-02-02 02:36:34 +00:00
aclocal.m4 incremented the version number to 0.1.2 and rewrote the start-commit script in perl 2014-05-16 03:18:22 +00:00
codepot.spec.in changed how to carry around project members 2014-06-24 13:52:05 +00:00
config.guess added config.guess and config.sub 2010-04-07 12:18:57 +00:00
config.h.in incremented the version number to 0.1.2 and rewrote the start-commit script in perl 2014-05-16 03:18:22 +00:00
config.sub added config.guess and config.sub 2010-04-07 12:18:57 +00:00
configure rewritten pre-commit and added svn_min_commit_message_length 2014-06-23 10:07:08 +00:00
configure.ac rewritten pre-commit and added svn_min_commit_message_length 2014-06-23 10:07:08 +00:00
Makefile.am changed how to carry around project members 2014-06-24 13:52:05 +00:00
Makefile.in added the codepot-user script and touched up AccessHandler.pm 2014-05-17 16:22:56 +00:00
mkmf.sh initial commit 2010-01-24 14:34:03 +00:00
README fixed a bug when handling ldap_auth_mode 2 in LdapLoginModel. 2014-05-25 06:53:16 +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 wget
   $ 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
   ------------------------------------------------------------------------