Guest User

Untitled

a guest
Nov 13th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. # SVN
  2.  
  3. ## Install
  4.  
  5. ### MacOs
  6.  
  7. ```shell
  8. brew install --universal subversion
  9. ```
  10. ## Configurando
  11.  
  12. Criando um repositório
  13.  
  14. ```shell
  15. svnadmin create SVNREPO
  16. ```
  17.  
  18. Criando um projeto
  19.  
  20. ```shell
  21. svn mkdir -m "Projeto1 test" file:///Users/renatocosta/SVNREPO/project1
  22. ```
  23.  
  24. Permissoes do servidor
  25.  
  26. ```shell
  27. vim /Users/renatocosta/SVNREPO/conf/svnserve.conf
  28. ```
  29.  
  30. ```
  31. anon-access = none
  32. auth-access = write
  33. password-db = passwd
  34. ```
  35.  
  36. Criando usuários
  37.  
  38. ```shell
  39. vim /Users/renatocosta/SVNREPO/conf/passwd
  40. ```
  41.  
  42. ```
  43. [users]
  44. username=password
  45. ```
  46.  
  47. Iniciando o daemon do SVN
  48.  
  49. ```shell
  50. svnserve -d --root /Users/renatocosta/SVNREPO
  51. ```
  52.  
  53. Fazendo um checkout em uma pasta
  54.  
  55. ```shell
  56. mkdir myworkspace && cd myworkspace
  57. svn checkout file:///Users/renatocosta/SVNREPO/project1 --username renatocosta@localhost
  58. ```
Add Comment
Please, Sign In to add comment