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
informatique:gitlab [23/12/2013 17:32] cyrilleinformatique:gitlab [04/04/2016 18:05] (Version actuelle) – [GitLab] Feature Highlight: Todos cyrille
Ligne 1: Ligne 1:
 ====== GitLab ====== ====== GitLab ======
  
-Install :+Voir aussi[[/informatique/git]], [[http://gogs.io/|Gogs]] 
 + 
 +La version 8.5 déchire !! C'est vraiment hyper efficace. 
 +  * [[https://about.gitlab.com/2016/03/02/gitlab-todos-feature-highlight/|Feature Highlight: Todos]] 
 +    * Un todo est automatiquement généré suite à une @mention. 
 +      * Si vous effectué l'action associée, le todo est clos. Si c'est qlq'un d'autre le todo n'est pas clôt 
 + 
 +===== 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
 +
 +  * 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 =====
 +
 +==== Solution #01 ====
 +
 +{{: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
 +
 +==== Solution #02 ====
 +
 +  $ git clone git@git.comptoir.net:cyrille.giquello/essais02.git
 +  Cloning into 'essais02'...
 +  warning: You appear to have cloned an empty repository.
 +  $ cd essais02
 +  $ touch README
 +  $ git add README
 +  $ git commit -a -m '1er commit'
 +  $ git push origin master
 +  Counting objects: 3, done.
 +  Writing objects: 100% (3/3), 210 bytes, done.
 +  Total 3 (delta 0), reused 0 (delta 0)
 +  To git@git.comptoir.net:cyrille.giquello/essais02.git
 +   * [new branch]      master -> master
  
informatique/gitlab.1387816332.txt.gz · Dernière modification : 23/12/2013 17:32 (modification externe)

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