xaizek / rocketgit (License: AGPLv3+) (since 2018-12-09)
Light and fast Git hosting solution suitable to serve both as a hub or as a personal code storage with its tickets, pull requests, API and much more.
File Mode Size
admin/ 040000
artwork/ 040000
hooks/ 040000
inc/ 040000
root/ 040000
samples/ 040000
scripts/ 040000
tests/ 040000
.exclude 100644 26B
.gitignore 100644 80B
LICENSE 100644 34KiB
Makefile.in 100644 1,100B
README 100644 1,874B
TODO 100644 7,507B
configure 100755 23B
duilder 100755 13KiB
duilder.conf 100644 268B
rocketgit.spec.in 100644 1,786B

/README
== About ==
. Website: http://kernel.embedromix.ro/us/
. Author: Catalin(ux) M. BOIE
. Description: Light and fast Git hosting solution
. Language: PHP
. Database: PostgreSQL


== Features ==
. No Java
. No Javascript
. Very little dependencies, all packaged in main-stream distributions
. SELinux friendly
. Very small
. 


== Install ==
. Edit /etc/rocketgit/config.php
. Edit /etc/httpd/conf.d/rocketgit.conf

. Install and configure Apache
	# yum install httpd
	# systemctl enable httpd.service
	# systemctl start httpd.service

. Install and configure PostgreSQL server
	# yum install postgresql-server
	# systemctl enable postgresql.service
	# service postgresql initdb (TAKE CARE! YOU MAY DESTROY ALL YOUR DATA!)
	# systemctl start postgresql.service

. Create a rocketgit user
	# su - postgres
	$ createuser -d -R -S rocketgit

. Create the database
	# su - postgres
	$ createdb -O rocketgit rocketgit

. Set correct rights in pg_ident.conf/pg_hba.conf and restart:
	Add the following lines in pg_ident.conf:
	rg apache rocketgit
	rg rocketgit rocketgit
	rg root rocketgit

	Add the following line, before wildcard matches, in pg_hba.conf:
	local rocketgit rocketgit ident map=rg

	systemctl reload postgresql.service

. Run instalation script
	# php /usr/share/rocketgit/admin/init.php

. SELinux
	# setsebool -P httpd_can_network_connect_db on
	# setsebool -P httpd_can_network_memcache on
	# setsebool -P httpd_can_sendmail on

. Edit firewall to permit port ssh, git, http and https


== Thanks ==
. Special thanks to my family that supported me in this project.
. Special thanks to my brother that contributed brain and time to this project.
. Special thanks to git people for the best tool to manage sources.
. Special thanks to a lot of people that came with suggestions.
. Special thanks to gitosys, Gitorious and other projects from where I learned things.
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master