Skip to content

alexsaveliev/vcsstore

 
 

Repository files navigation

vcsstore

vcsstore stores VCS repositories and makes them accessible via HTTP.

Build Status

Install

  • Install libssh2 and libssl-dev: apt-get install libssh2-1-dev libssl-dev
  • Run go get -d -u sourcegraph.com/sourcegraph/vcsstore and cd into the folder
  • Run make build-libgit2
  • godep go install ./cmd/vcsstore
  • vcsstore serve

The included Dockerfile exposes vcsstore on container port 80. To expose it on host port 9090 and have it store VCS data in /tmp/vcsstore on the host, run:

docker build -t vcsstore .
docker run -e GOMAXPROCS=8 -p 9090:80 -v /tmp/vcsstore vcsstore

vcsstore (and vcsclient in particular) can also be used as a library.

Related reading

Authors

About

vcsstore stores VCS repositories and makes them accessible via HTTP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.3%
  • Protocol Buffer 1.3%
  • Makefile 0.4%