Installation from sourceΒΆ

Gandalf is built in Go, see to install it.

Gandalf also uses mongodb, on ubuntu run:

$ [sudo] apt-get install mongodb

Get gandalf:

$ go get

Gandalf will come with a default configuration file, at etc/gandalf.conf, customize it with your needs before running the install script.

The script will build and run gandalf server with the current user, so if you want your repositories urls to be like you should create a user called git and change to it before running the script.

So let’s run it:

$ cd $GOPATH/src/
$ ./setup/

No output means no error :)

Now test if gandalf server is up and running

$ ps -ef | grep gandalf

This should output something like the following

git      27334     1  0 17:30 ?        00:00:00 /home/git/gandalf/dist/gandalf-webserver

Now we’re ready to move on!