Skip to content

mattn/vagrant-centos65-x86_64-gitolite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

vagrant-centos65-x86_64-gitolite

vagrant recipe for installing gitolite server

Installation

$ git clone https://github.com/mattn/vagrant-centos65-x86_64-gitolite
$ cd vagrant-centos65-x86_64-gitolite
$ mkdir .vagrant
$ cp /path/to/your/ssh/public/key/id_rsa.pub .vagrant/admin.pub
$ vagrant up

NOTE: filename of admin.pub should be <username>.pub for administrator.

Create gitolite repository

NOTE: At the first, remove line begining with [127.0.0.1]:2222 in ~/.ssh/known_hosts.

$ git clone ssh://[email protected]:2222/gitolite-admin.git 
$ cd gitolite-admin
$ vi conf/gitolite.conf

Append two lines for new repository. See gitolite's README for description.

repo    gitolite-admin
        RW+     =   admin

repo    testing
        RW+     =   @all

repo    example
        RW+     =   @all
$ git commit -m "Add example" && git push

Use the repository

$ git clone ssh://[email protected]:2222/example.git
$ cd example
$ echo ハァハァ > poem.txt
$ git add poem.txt && git commit -m 'First ハァハァ'
$ git push

Open http://127.0.0.1:4567/git in your browser.

Author

Yasuhiro Matsumoto (a.k.a mattn)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages