badoo / codeisok

Git code browsing and code review tool
GNU General Public License v3.0
85 stars 16 forks source link

Badoo repository browsing and code review tool

logo

Installation guide

Authorisation

Administration

Get started

Code review

The project was originally forked from https://github.com/xiphux/gitphp. But we changed almost everything and added lot of new features.

Please find the full documentation in codeisok wiki

Installation

For manual installation explore .setup dir and find all nesessary scripts and tools. Service requires mysql, php and nginx to work. Setup scenario can be found in .setup/Dockerfile.

Docker

For docker build run "docker build -t codeisok .setup" from project root.

To run docker container use start.sh script in project root. Docker container exposes 2 ports:

To run container in non-interactive mode (background) - replace -it options with -d one in docker run command

Internals

Default authorisation is just config-based. You can use 'user' user and 'password' password. To change it look for \GitPHP\Config::AUTH_METHOD and \GitPHP\Config::CONFIG_AUTH_USER fields in .config/gitphp.conf.php file.

Service is using smarty as template engine. So templates_c directory should be writable for web-service user.

Service is storing repositories at PROJECT_ROOT directory path. This directory should be writable for web-service user.