Gitcolab
Self-hosted Git Service written in PHP.
Install / Use
/learn @gitcolab/GitcolabREADME
Gitcolab
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
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
