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.
Commit 4d9dcd67da247000a19a2f81aebd81f265bfe293

Improved installation (checksum for postgres, useless SELinux booleans
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-04-06 16:14
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-04-06 16:14
Parent(s): c84c2eaab9c1eb7e6898ef14f12fd8701c6fc285
Signing key:
Tree: 92717b562c5cff6665460f7ce39a147d51fabb04
File Lines added Lines deleted
README 4 9
File README changed (mode: 100644) (index 57dfb7c..5e4d1e3)
25 25 - It is recommended to NOT install rocketgit on a multiuser machine. - It is recommended to NOT install rocketgit on a multiuser machine.
26 26 There are some things that should be fixed first. We are working on it. There are some things that should be fixed first. We are working on it.
27 27
28 . Prepare SELinux
29 # setsebool -P \
30 httpd_can_network_connect_db=on \
31 httpd_can_network_connect=on \
32 httpd_can_sendmail=on
33
34 28 . Edit /etc/rocketgit/config.php . Edit /etc/rocketgit/config.php
35 29 . Edit /etc/httpd/conf.d/rocketgit.conf . Edit /etc/httpd/conf.d/rocketgit.conf
36 30
 
58 52
59 53 . Configure PostgreSQL server . Configure PostgreSQL server
60 54 # systemctl enable postgresql.service # systemctl enable postgresql.service
61 # postgresql-setup initdb (TAKE CARE! YOU MAY DESTROY ALL YOUR DATA!)
55 # postgresql-setup --initdb (TAKE CARE! YOU MAY DESTROY ALL YOUR DATA!)
56 # export PGSETUP_INITDB_OPTIONS="--data-checksums" # recommended
62 57 # systemctl start postgresql.service # systemctl start postgresql.service
63 58
64 59 . Create a PostgreSQL user and database . Create a PostgreSQL user and database
65 60 # su - postgres # su - postgres
66 $ createuser -d -R -S rocketgit
61 $ createuser --createdb --no-createrole --no-superuser rocketgit
67 62 $ createdb -O rocketgit rocketgit $ createdb -O rocketgit rocketgit
68 63
69 64 . Allow access to PostgreSQL and restart: . Allow access to PostgreSQL and restart:
 
73 68 host rocketgit rocketgit 127.0.0.1/32 trust host rocketgit rocketgit 127.0.0.1/32 trust
74 69 host rocketgit rocketgit ::1/128 trust host rocketgit rocketgit ::1/128 trust
75 70
76 systemctl restart postgresql.service
71 systemctl reload postgresql.service
77 72
78 73 Notes: Notes:
79 74 - Check also the config file (/etc/rocketgit/config.php) and set - Check also the config file (/etc/rocketgit/config.php) and set
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