/README (3bc633746db1d1d39cada76330bbe613adbad2ad) (2358 bytes) (mode 100644) (type blob)

== 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

. Configure Apache
	# systemctl enable httpd.service
	# systemctl start httpd.service

. Activate xinetd (for git:// access)
	# systemctl enable xinetd.service
	# systemctl start xinetd.service

. Configure PostgreSQL server
	# systemctl enable postgresql.service
	# service postgresql initdb (TAKE CARE! YOU MAY DESTROY ALL YOUR DATA!)
	# systemctl start postgresql.service

. Create a PostgreSQL user and database
	# su - postgres
	$ createuser -d -R -S rocketgit
	$ createdb -O rocketgit rocketgit

. Allow access to PostgreSQL and restart:
	Add the following lines, before wildcard matches, in pg_hba.conf:
	local rocketgit rocketgit 127.0.0.1	trust
	local rocketgit rocketgit ::1		trust

	systemctl reload postgresql.service

	Notes:
	- Check also the config file and set correctly rg_sql string.
	- If the web server and the db are not on the same host, you need to
	replace 127.0.0.1/::1 with your "safe network". You may want to use
	md5 for authentication. Also, you may want to change 'listen_addresses'
	to '*'.

. 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
	In /etc/sysconfig/iptables (IPv4) or ip6tables (IPv6), add something
	like this:
	-A INPUT -m tcp -p tcp --dport ssh -j ACCEPT
	-A INPUT -m tcp -p tcp --dport git -j ACCEPT
	-A INPUT -m tcp -p tcp --dport http -j ACCEPT
	-A INPUT -m tcp -p tcp --dport https -j ACCEPT


== 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 the 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.


Mode Type Size Ref File
100644 blob 26 85c946cb687f42a070d70d4c9ce8b528b1cc1559 .exclude
100644 blob 87 bf1d9081b000eeaff7698f3e4dfae542742e473f .gitignore
100644 blob 291 09b46cbadd44b1163000af59178e1022319a88ee Compare.txt
100644 blob 35147 94a9ed024d3859793618152ea559a168bbcbb5e2 LICENSE
100644 blob 1155 5e9380eddd60d38d5ee2d742f11bd749a2a7f2ac Makefile.in
100644 blob 2358 3bc633746db1d1d39cada76330bbe613adbad2ad README
100644 blob 15990 53e593eae0cd3104349677d73dab9607edb3c905 TODO
040000 tree - 6c8d7048adddfca75616f1fc091888b38ac1e904 admin
040000 tree - 76a16691bc48bbe42bdc63a6d1244d2d49e4da2d artwork
100755 blob 23 d33bb6c4ecdce1390ce1db3c79ea3b93e22ea755 configure
100755 blob 13311 a6e2825b35f915e6d64c2a981fa3b6266b2bf587 duilder
100644 blob 268 3923b9deec801f5f28dc99655e9589aec171c24d duilder.conf
040000 tree - eb42a2642ffb46b579bbde5624a8ec897503a34d hooks
040000 tree - 1d838058fe644862d778b8979838f7e6b36afb6e inc
100644 blob 1794 bbef3a7a0b69e08d68de117bb2fa4efc5ce67b2c rocketgit.spec.in
040000 tree - 3fcaaeb7ff19a05682c3b5cfacf09380e5fb704d root
040000 tree - 026c1476cb37a3789a8871ad8729bda4b62be424 samples
040000 tree - 8a8a7a64746ee5b95ecdefa06b0b62c91dd55268 scripts
040000 tree - 3a790cdb0fee50148c3aa1901571abb6fc2b4dd9 tests
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://rocketgit.com/user/catalinux/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/rocketgit

Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/rocketgit

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