tip for git-annex-shell PATH issues

This commit is contained in:
Joey Hess 2015-08-09 18:09:05 -04:00
parent a52b65ae00
commit 533ab7b9ad
4 changed files with 64 additions and 24 deletions

View file

@ -8,10 +8,16 @@ See for example [[using_gitolite_with_git-annex]].
## set up the server
On the server, you'll want to [[install]] git, and git-annex, if you haven't
already.
already. If possible, install it using your distribution's package manager:
server# sudo apt-get install git git-annex
Note that git-annex-shell needs to be located somewhere in the PATH, so
that a client can successfully run "ssh yourserver git-annex-shell".
Installing git-annex using a package manager will take care of this for
you. But if you're not root or otherwise can't install git-annex that way,
you may need to do more work; see [[get_git-annex-shell_into_PATH]].
Decide where to put the repository on the server, and create a bare git repo
there. In your home directory is a simple choice: