Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Installation problem #200

Open
ihash opened this issue Feb 26, 2016 · 4 comments
Open

Installation problem #200

ihash opened this issue Feb 26, 2016 · 4 comments

Comments

@ihash
Copy link

ihash commented Feb 26, 2016

Hi
I wanted to build from the source as the docs says to run install.sh! But Icant find it!
https://gandalf.readthedocs.org/en/latest/install-from-source.html

@scorphus
Copy link
Contributor

Hi, @ihash.

I see our docs are outdated, I already have a pull request on the way. In the
meantime, can you please try the following?


Installation from source

Gandalf is built in Go, see http://golang.org/doc/install to install it.

Gandalf also uses mongodb, on ubuntu run:

$ [sudo] apt-get install mongodb

Get Gandalf:

$ go get github.com/tsuru/gandalf/...

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

The script will build and run Gandalf server with the current user, so if you
want your repositories URLs to be like [email protected] you should create a user
called git and change to it before running the script.

So let's run it:

$ cd $GOPATH/src/github.com/tsuru/gandalf
$ ./misc/setup.sh

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!


Thanks!

scorphus added a commit to scorphus/gandalf that referenced this issue Feb 26, 2016
@ihash
Copy link
Author

ihash commented Feb 27, 2016

Thanks a lot...
But there is no such file: setup.sh
setup.bash or build.bash

and no error with: ./misc/setup.bash

@andrewsmedina
Copy link
Contributor

Hi @ihash the setup.bash and build.bash are in the misc directory: https://github.com/tsuru/gandalf/tree/master/misc

@scorphus
Copy link
Contributor

Ah, I almost got it. Thanks, @andrewsmedina.
Em 27/02/2016 00:50, "Andrews Medina" [email protected] escreveu:

Hi @ihash https://github.com/ihash the setup.bash and build.bash are in
the misc directory: https://github.com/tsuru/gandalf/tree/master/misc


Reply to this email directly or view it on GitHub
#200 (comment).

scorphus added a commit to scorphus/gandalf that referenced this issue Feb 27, 2016
scorphus added a commit to scorphus/gandalf that referenced this issue Oct 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants