informatique:gitlab
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
informatique:gitlab [23/12/2013 15:18] – cyrille | informatique:gitlab [04/04/2016 18:05] (Version actuelle) – [GitLab] Feature Highlight: Todos cyrille | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== GitLab ====== | ====== GitLab ====== | ||
- | Install | + | Voir aussi: [[/ |
+ | |||
+ | La version 8.5 déchire !! C'est vraiment hyper efficace. | ||
+ | * [[https:// | ||
+ | * Un todo est automatiquement généré suite à une @mention. | ||
+ | * Si vous effectué l' | ||
+ | |||
+ | ===== Installation ===== | ||
* version 5.1 https:// | * version 5.1 https:// | ||
* version 6.4 https:// | * version 6.4 https:// | ||
+ | |||
+ | ==== Problèmes rencontrés ==== | ||
+ | |||
+ | * Attention syntaxe des fichiers YAML ! Comptez bien les espaces. | ||
+ | |||
+ | * Manquait l' | ||
+ | * sudo apt-get install libmysqlclient-dev | ||
+ | |||
+ | * Configuration du folder .ssh du user " | ||
+ | * https:// | ||
+ | |||
+ | * gitlab_url dans / | ||
+ | |||
+ | $ 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/ | ||
+ | |||
+ | # | ||
+ | config.action_mailer.delivery_method = :smtp | ||
+ | config.action_mailer.smtp_settings = { | ||
+ | :address => ' | ||
+ | :port => 25, | ||
+ | } | ||
+ | |||
+ | ===== First project ===== | ||
+ | |||
+ | ==== Solution #01 ==== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Git global setup: | ||
+ | git config --global user.name " | ||
+ | git config --global user.email " | ||
+ | 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: | ||
+ | git push -u origin master | ||
+ | Existing Git Repo? | ||
+ | cd existing_git_repo | ||
+ | git remote add origin git@git.comptoir.net: | ||
+ | git push -u origin master | ||
+ | |||
+ | ==== Solution #02 ==== | ||
+ | |||
+ | $ git clone git@git.comptoir.net: | ||
+ | Cloning into ' | ||
+ | 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: | ||
+ | * [new branch] | ||
informatique/gitlab.txt · Dernière modification : 04/04/2016 18:05 de cyrille