Kyle Sponable
Kyle Sponable

Reputation: 735

Git server set up issue

I was setting up my gitserver on a lucid VPS following this tutorial http://kris.me.uk/2010/09/30/git-repository-server-gitolite.html

It worked up until this line:

    src/gl-system-install ~/bin ~/share/gitolite/conf ~/share/gitolite/hooks

I got this in the output:

    bash: src/gl-system-install: No such file or directory

This is my first time setting up a git server so I am a bit lost, I googled the problem but nothing I could find makes sense. I appreciate the help guys!

Upvotes: 3

Views: 857

Answers (1)

VonC
VonC

Reputation: 1323803

gl-system-install is a Gitolite command, and Gitolite has moved to V3 (or 'g3').
In V3, gl-system-install doesn't exist, is now called gitolite (and gitolite-shell)

gitolite/install -to $HOME/bin
gitolite setup -pk YourName.pub

See the Gitolite installation page for an updated setup procedure.

"Installation" consists of the following options:

  1. Keep the sources anywhere and use the full path to run the gitolite command.
  2. Keep the sources anywhere and symlink just the gitolite program to some directory on your $PATH.
  3. Copy the sources somewhere and use that path to run the gitolite command.

Option 2 is the best for general use.

# option 2
gitolite/install -ln
# defaults to $HOME/bin (which is assumed to exist)
#   ** or **
# or use a specific directory (please supply full path):
gitolite/install -ln /usr/local/bin

Upvotes: 1

Related Questions