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édenteProchaine révisionLes deux révisions suivantes | ||
informatique:gitlab [23/12/2013 17:40] – cyrille | informatique: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: [[/ | ||
+ | |||
+ | ===== Installation ===== | ||
* version 5.1 https:// | * version 5.1 https:// | ||
* version 6.4 https:// | * version 6.4 https:// | ||
- | | + | |
+ | ==== Problèmes rencontrés ==== | ||
+ | |||
+ | | ||
+ | |||
+ | * Manquait | ||
* sudo apt-get install libmysqlclient-dev | * sudo apt-get install libmysqlclient-dev | ||
- | | + | |
+ | | ||
+ | * 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 ===== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | 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 | ||
informatique/gitlab.txt · Dernière modification : 04/04/2016 18:05 de cyrille