News for hackers. Stuff that matters.
Re:Building Sourcegraph - A large-scale code search engine i... by kozikow on Monday September 19, 2016 @02:04AM (#12529301)
Is there a way of "git cloning" the https://sourcegraph.com/sourcegraph.com/sourcegraph/sourcegr...? It is linked in the article. It does not seem to be at https://github.com/sourcegraph .
Re:Building Sourcegraph - A large-scale code search engine i... by shadowmint on Monday September 19, 2016 @02:36AM (#12529411)

    apt-get install docker protobuf-compiler
    mkdir foo
    cd foo
    export GOPATH=`pwd`
    export PATH=${PATH}:`pwd`/bin
    mkdir bin
    mkdir -p src/sourcegraph.com/sourcegraph
    cd src/sourcegraph.com/sourcegraph
    git clone https://sourcegraph.com/sourcegraph.com/sourcegraph/sourcegraph sourcegraph
    cd sourcegraph.com/sourcegraph/sourcegraph
    make
    make serve-dev
good luck.

It doesn't actually run for me, just crashes, but you'll get kind of... most of the way there with that.

(oh, you probably dont need protobuf unless you run `make generate`)

Re:Building Sourcegraph - A large-scale code search engine i... by sqs on Monday September 19, 2016 @02:45AM (#12529456)
Sourcegraph CEO here. We're going to do a big source release soon. Then this should all be easier. We're growing quickly and pushing out a lot of product releases soon and have been busy on those. Email is in my profile if you really want to figure it out, and I can direct you to the right person to help.