== 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
. 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
# 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.
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://email@example.com/user/xaizek/rocketgit
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
... clone the repository ...
... make some changes and some commits ...
git push origin master