SkillAgentSearch skills...

Gitcolab

Self-hosted Git Service written in PHP.

Install / Use

/learn @gitcolab/Gitcolab
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Gitcolab

Join the chat at https://gitter.im/gitcolab/gitcolab

Build Status

Git repositories inside your infrastructure, based on the Symfony2 framework.

Installation

Requirements:

$ git clone https://github.com/gitcolab/gitcolab.git
$ cd gitcolab
$ composer install

Then configure your project and create database.

$ cd gitcolab

# To create the database:
$ php app/console doctrine:database:create
$ php app/console doctrine:schema:create

# If you want to load sample data, use the following command
$ php app/console doctrine:fixtures:load

# Instant messaging ( NodeJs and Npm required)
$ npm install
$ bower install
$ gulp

You probably need to setting up rights for apache, uses the following commands:

$ mkdir -p app/cache app/logs app/data web/uploads
$ setfacl -R -m u:www-data:rwx -m u:`whoami`:rwx app/cache app/logs app/data web/uploads
$ setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx app/cache app/logs app/data web/uploads

Behat scenarios

You need to copy Behat default configuration file and enter your specific base_url option there. Nothing to change if you use app/console server:run.

$ cp behat.yml.dist behat.yml
$ vim behat.yml

Then download Selenium Server, and run it.

$ java -jar selenium-server-standalone-2.11.0.jar

You can run Behat using the following command.

$ bin/behat

Troubleshooting

If something goes wrong, errors & exceptions are logged at the application level.

tail -f app/logs/prod.log
tail -f app/logs/dev.log

Docker

You can build a docker image for this project with the following command:

docker build -t gitcolab .

Then run the container:

docker run -p 80:80 -p 8000:8000 gitcolab

or with your current working copy:

docker run -p 80:80 -p 8000:8000 -v $(pwd):/var/www/gitcolab gitcolab

Gitcolab should now be available at http://localhost/

Related Skills

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated4d ago
Forks2

Languages

PHP

Security Score

90/100

Audited on Apr 1, 2026

No findings