Outils pour utilisateurs

Outils du site


informatique:gitlab

Différences

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

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
Prochaine révisionLes deux révisions suivantes
informatique:gitlab [23/12/2013 17:40] cyrilleinformatique:gitlab [24/12/2013 16:35] – gitlab_url dans /home/git/gitlab-shell/config.yml doit bien matché l'url du GitLab cyrille
Ligne 1: Ligne 1:
 ====== GitLab ====== ====== GitLab ======
  
-Install :+ 
 +Voir aussi[[/informatique/git]] 
 + 
 +===== Installation ===== 
   * version 5.1 https://github.com/gitlabhq/gitlabhq/blob/5-1-stable/doc/install/installation.md   * version 5.1 https://github.com/gitlabhq/gitlabhq/blob/5-1-stable/doc/install/installation.md
   * version 6.4 https://github.com/gitlabhq/gitlabhq/tree/6-4-stable/doc/install   * version 6.4 https://github.com/gitlabhq/gitlabhq/tree/6-4-stable/doc/install
-    problème rencontré: manquait l'installation des libs de dev pour mysql+ 
 +==== Problèmes rencontrés ==== 
 + 
 +  Attention syntaxe des fichiers YAML ! Comptez bien les espaces. 
 + 
 +  * Manquait l'installation des libs de dev pour mysql
       * sudo apt-get install libmysqlclient-dev       * sudo apt-get install libmysqlclient-dev
-    Attention syntaxe des fichiers YAML !+ 
 +  Configuration du folder .ssh du user "git" 
 +    * https://github.com/gitlabhq/gitlab-public-wiki/wiki/IRC-channel-Guidelines-and-F.A.Q.#clone-over-ssh-asks-for-git-password 
 + 
 +  * gitlab_url dans /home/git/gitlab-shell/config.yml doit bien matché l'url du GitLab 
 + 
 +  $ ssh git@git.comptoir.net 
 +  PTY allocation request failed on channel 0 
 +  Welcome to GitLab, Anonymous! 
 +  Connection to git.comptoir.net closed. 
 +Après correction de gitlab_url : 
 +  $ ssh git@git.comptoir.net 
 +  PTY allocation request failed on channel 0 
 +  Welcome to GitLab, Cyrille Giquello! 
 +  Connection to git.comptoir.net closed. 
 + 
 +  * Envoi des mails de notification et autres 
 +    * Changé de sendmail à smtp dans config/environments/production.rb 
 + 
 +  #config.action_mailer.delivery_method = :sendmail 
 +  config.action_mailer.delivery_method = :smtp 
 +  config.action_mailer.smtp_settings = { 
 +      :address => '127.0.0.1', 
 +      :port => 25, 
 +  } 
 + 
 +===== First project ===== 
 + 
 +{{:informatique:gitlab_-_first_project.png?200|GitLab first project}} 
 + 
 +Git global setup: 
 +  git config --global user.name "Cyrille Giquello" 
 +  git config --global user.email "cyrille@giquello.fr" 
 +Create Repository 
 +  mkdir essais01 
 +  cd essais01 
 +  git init 
 +  touch README 
 +  git add README 
 +  git commit -m 'first commit' 
 +  git remote add origin git@git.comptoir.net:cyrille.giquello/essais01.git 
 +  git push -u origin master 
 +Existing Git Repo? 
 +  cd existing_git_repo 
 +  git remote add origin git@git.comptoir.net:cyrille.giquello/essais01.git 
 +  git push -u origin master 
  
  
informatique/gitlab.txt · Dernière modification : 04/04/2016 18:05 de cyrille

Sauf mention contraire, le contenu de ce wiki est placé sous les termes de la licence suivante : CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki