Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to index and search into a local folder Windows #477

Open
clabnet opened this issue Nov 12, 2023 · 0 comments
Open

How to index and search into a local folder Windows #477

clabnet opened this issue Nov 12, 2023 · 0 comments

Comments

@clabnet
Copy link

clabnet commented Nov 12, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant