hound-search/hound

How to index and search into a local folder Windows

clabnet opened this issue · 0 comments

I'm on Windows environment, and use Hound on docker. I would search code into a huge local folder (and related subfolders).

It seems not index the local folder D:\Weblabs\nodejs.

Failed to clone file://D/Weblabs/nodejs, see output below
21:58:26 Cloning into 'vcs-d5555064c181c6e03876f1191e53ebf3b03cd30b'...
21:58:26 fatal: '/Weblabs/nodejs' does not appear to be a git repository
21:58:26 fatal: Could not read from remote repository.

The config.json is :

{
    "max-concurrent-indexers" : 2,
    "dbpath" : "data",
    "title" : "Hound",
    "health-check-uri" : "/healthz",
    "vcs-config" : {
        "git" : {
            "detect-ref" : true
        }
    },
    "repos" : {
        "DockerTest" : {
            "url" : "https://github.com/my-user/docker-test.git"
        },
        "QuickStart" : {
            "url" : "https://github.com/my-user/start.git"
        },
        "LocalFolder" : {
            "url" : "file://D/Weblabs/nodejs"
        }
    }
}

Any suggestion to configure the LocalFolder with local folders ?
Thanks in advance.