Outils pour utilisateurs

Outils du site


gitlab

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

gitlab [2015/03/02 10:16] (Version actuelle)
ed8 docs(gitlab): création
Ligne 1: Ligne 1:
 +====== Installation ======
 + 
  
 +  - regarder la vidéo [[https://​www.youtube.com/​watch?​v=Q69YaOjqNhg|Installing GitLab really fast using Omnibus-GitLab]] ;
 +  - [[https://​gitlab.com/​gitlab-org/​omnibus-gitlab/​blob/​master/​README.md|Omnibus GitLab]].
 +
 +
 +1. I installed the `gitlab` package through the omnibus package on `debian 7` (version`7.8.1-omnibus-1_amd64.deb`) ;
 +2. change the settings as describe in [Using a non-bundled web-server][1] ​
 +3. run the reconfigure command: `sudo gitlab-ctl reconfigure` (complete without error).
 +
 +===== Config ====
 +
 +Voir les configurations actives:
 +
 +   sudo awk '​!/​^#/&&/​.+/​{print}'​ /​etc/​gitlab/​gitlab.rb
 +   
 +Exemple (pas forcément à jour):
 +
 +    external_url '​https://​git.labx.fr'​
 +    gitlab_rails['​gitlab_email_from'​] = '​git@labx.fr'​
 +    gitlab_rails['​gitlab_default_projects_limit'​] = 100
 +    gitlab_rails['​gitlab_default_projects_features_snippets'​] = true
 +    web_server['​external_users'​] = ['​www-data'​]
 +    nginx['​enable'​] = false
 +    nginx['​redirect_http_to_https'​] = true
 +    nginx['​redirect_http_to_https_port'​] = 443
 +    nginx['​ssl_certificate'​] = "/​etc/​gitlab/​ssl/#​{node['​fqdn'​]}.crt"​
 +    nginx['​ssl_certificate_key'​] = "/​etc/​gitlab/​ssl/#​{node['​fqdn'​]}.key"​
 +    ci_nginx['​enable'​] = false
 +
 +
 +===== Nginx =====
 +
 +I got no `nginx`'​ config for this gitlab except for what the package might have created with the following `/​etc/​gitlab/​gitlab.rb` file:
 +
 +    external_url '​http://​git.mydomain.fr'​
 +    web_server['​external_users'​] = ['​www-data'​]
 +    nginx['​enable'​] = false
 +    ci_nginx['​enable'​] = false
 +
 +====== Mise à jour ======
 +
 +  - [[https://​www.digitalocean.com/​community/​tutorials/​how-to-use-the-gitlab-one-click-install-image-to-manage-git-repositories|How To Use the GitLab One-Click Install Image to Manage Git Repositories]].
gitlab.txt · Dernière modification: 2015/03/02 10:16 par ed8