A Self-hosted installation of GitLab comes with an extremely interesting and useful tool that is disabled by default, the Mattermost chat server, think of it as a self-hosted and better Slack.
If you installed GitLab using the Omnibus package, the recommended way, you can enable it and set up a letsencrypt certificate in a few steps as described bellow.
Open the file ‘/etc/gitlab/gitlab.rb’ and find the line:
Continue reading “Enabling Mattermost on the Gitlab Instalation”
The installation of a self hosted Gitlab instance using SSL certificates from Let’sEncrypt on a Centos 7 is simple and straightforward.
Run as root the following, remember to change Gitlab.example.com with the domain you intend to use for your Gitlab installation
Continue reading “Gitlab on-premisses install + Let’s Encrypt”
Sometimes it’s interesting to get the hash of the head of the current git repository, with it you can check if you are running an up-to-date version or postfix it in URLs with ‘?version=(hash)’ so you won’t have problems with browser/proxies caches.
Continue reading “Get Git Head via PHP script”